diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-05 15:05:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-05 15:05:05 +0000 |
commit | a539b0e00dedddfea36d4a96b788e42923056a78 (patch) | |
tree | fcf4876cbfa5abef45c40e134b99bc30944fde14 /modules/menu/menu.admin.inc | |
parent | 2431df84a2a6afb07a5214ef748cded72ac87947 (diff) | |
download | brdo-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.inc | 4 |
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), + ), ); } |