summaryrefslogtreecommitdiff
path: root/modules/menu/menu.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-05 15:05:05 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-05 15:05:05 +0000
commita539b0e00dedddfea36d4a96b788e42923056a78 (patch)
treefcf4876cbfa5abef45c40e134b99bc30944fde14 /modules/menu/menu.admin.inc
parent2431df84a2a6afb07a5214ef748cded72ac87947 (diff)
downloadbrdo-a539b0e00dedddfea36d4a96b788e42923056a78.tar.gz
brdo-a539b0e00dedddfea36d4a96b788e42923056a78.tar.bz2
- Patch by #565496 by dropcube, pwolanin: changed Allow dynamic attaching of other types of stuff to render() structures.
Diffstat (limited to 'modules/menu/menu.admin.inc')
-rw-r--r--modules/menu/menu.admin.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc
index f116a166b..48818e791 100644
--- a/modules/menu/menu.admin.inc
+++ b/modules/menu/menu.admin.inc
@@ -448,7 +448,9 @@ function menu_edit_menu(&$form_state, $type, $menu = array()) {
'#maxsize' => MENU_MAX_MENU_NAME_LENGTH_UI,
'#description' => t('This text will be used to construct the URL for the menu. The name must contain only lowercase letters, numbers and hyphens, and must be unique.'),
'#required' => TRUE,
- '#attached_js' => array(drupal_get_path('module', 'system') . '/system.js', $js_settings),
+ '#attached' => array(
+ 'js' => array(drupal_get_path('module', 'system') . '/system.js', $js_settings),
+ ),
);
}