summaryrefslogtreecommitdiff
path: root/modules/toolbar
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-11-30 17:16:37 +0000
committerDries Buytaert <dries@buytaert.net>2010-11-30 17:16:37 +0000
commitb1177ba603e3fe62c568a9a236cc371aefafc2dc (patch)
tree89f4d9f843eb500c6754edc1e8cd5358da2695e5 /modules/toolbar
parent732b57d10d0b344510e35d6223f36eecf62c0821 (diff)
downloadbrdo-b1177ba603e3fe62c568a9a236cc371aefafc2dc.tar.gz
brdo-b1177ba603e3fe62c568a9a236cc371aefafc2dc.tar.bz2
- Patch #954804 by ksenzee, merlinofchaos: all .js in /misc should be registered as a library.
Diffstat (limited to 'modules/toolbar')
-rw-r--r--modules/toolbar/toolbar.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module
index af39ac41b..bd774c5ee 100644
--- a/modules/toolbar/toolbar.module
+++ b/modules/toolbar/toolbar.module
@@ -188,7 +188,6 @@ function toolbar_view() {
'#attached'=> array(
'js' => array(
$module_path . '/toolbar.js',
- array('data' => 'misc/jquery.cookie.js', 'group' => JS_LIBRARY, 'weight' => 2),
array(
'data' => array('tableHeaderOffset' => 'Drupal.toolbar.height'),
'type' => 'setting'
@@ -197,6 +196,7 @@ function toolbar_view() {
'css' => array(
$module_path . '/toolbar.css',
),
+ 'library' => array(array('system', 'jquery.cookie')),
),
);