diff options
Diffstat (limited to 'modules/toolbar/toolbar.module')
-rw-r--r-- | modules/toolbar/toolbar.module | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index b17107c4c..cbebf75b6 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -61,12 +61,14 @@ function toolbar_build() { $module_path = drupal_get_path('module', 'toolbar'); $build = array( '#theme' => 'toolbar', - '#attached_js' => array( - $module_path . '/toolbar.js', - array('data' => 'misc/jquery.cookie.js', 'weight' => JS_LIBRARY + 2), - ), - '#attached_css' => array( - $module_path . '/toolbar.css', + '#attached'=> array( + 'js' => array( + $module_path . '/toolbar.js', + array('data' => 'misc/jquery.cookie.js', 'weight' => JS_LIBRARY + 2), + ), + 'css' => array( + $module_path . '/toolbar.css', + ), ), ); |