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/path | |
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/path')
-rw-r--r-- | modules/path/path.module | 4 |
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, ); |