summaryrefslogtreecommitdiff
path: root/modules/path/path.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path/path.module')
-rw-r--r--modules/path/path.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/path/path.module b/modules/path/path.module
index 0d811b230..81ae6f49c 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -234,7 +234,9 @@ function path_form_alter(&$form, $form_state, $form_id) {
'#collapsible' => TRUE,
'#collapsed' => empty($path),
'#group' => 'additional_settings',
- '#attached_js' => array(drupal_get_path('module', 'path') . '/path.js'),
+ '#attached' => array(
+ 'js' => array(drupal_get_path('module', 'path') . '/path.js'),
+ ),
'#access' => user_access('create url aliases'),
'#weight' => 30,
);