summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjunaidpv2017-02-04 03:46:10 (GMT)
committerJakob Perry2017-02-04 03:46:10 (GMT)
commit28f33d4635f882d5158c0dab8276f094cea47d61 (patch)
tree02b0a6ce447b348a6fe53e6e547a4d2f2b8172c0
parentc7ff5a626a895ffaeac0978156a8068272183292 (diff)
Issue #2550565 by junaidpv: "TypeError: Drupal.Panels is undefined" JS error on Panels settings page
-rw-r--r--includes/common.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index fcecef2..8aabd1b 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -426,6 +426,7 @@ function panels_common_allowed_layouts_form(&$form, &$form_state, $module_name)
$form_state['allowed_layouts'] = &$allowed_layouts;
+ ctools_add_js('panels-base', 'panels');
ctools_add_js('layout', 'panels');
$form['layout_selection'] = array(