summaryrefslogtreecommitdiffstatshomepage
path: root/modules/toolbar/toolbar.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-14 07:45:54 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-14 07:45:54 +0000
commitfa50f04ee4d55bf6e6098d088a6de86b149dd54d (patch)
tree18a457c322c044b4dff17a38d578e6b9ca667bea /modules/toolbar/toolbar.module
parentd0ddd91f28684700e3aa2646f4e76e11c94ad5f5 (diff)
downloaddrupal-fa50f04ee4d55bf6e6098d088a6de86b149dd54d.tar.gz
drupal-fa50f04ee4d55bf6e6098d088a6de86b149dd54d.zip
- Patch #787940 by casey: generic approach for position:fixed elements like toolbar.
Diffstat (limited to 'modules/toolbar/toolbar.module')
-rw-r--r--modules/toolbar/toolbar.module7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module
index c245a8fa7f1c..b7579021601a 100644
--- a/modules/toolbar/toolbar.module
+++ b/modules/toolbar/toolbar.module
@@ -177,12 +177,9 @@ function toolbar_view() {
'#theme' => 'toolbar',
'#attached'=> array(
'js' => array(
- $module_path . '/toolbar.js',
+ array('data' => 'misc/displace.js', 'weight' => JS_LIBRARY - 1),
array('data' => 'misc/jquery.cookie.js', 'weight' => JS_LIBRARY + 2),
- array(
- 'data' => array('tableHeaderOffset' => 'Drupal.toolbar.height'),
- 'type' => 'setting'
- ),
+ $module_path . '/toolbar.js',
),
'css' => array(
$module_path . '/toolbar.css',