diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-29 14:26:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-29 14:26:26 +0000 |
commit | 139f4375615216dfd077caba957508ff60778f45 (patch) | |
tree | 8bcca735371c6cef3b5c17a15ad77c50cb817a40 | |
parent | 212a5e08adf2de7ae43241086a1bdf59e00d3f3e (diff) | |
download | brdo-139f4375615216dfd077caba957508ff60778f45.tar.gz brdo-139f4375615216dfd077caba957508ff60778f45.tar.bz2 |
- Patch #686670 by mfer, seutje, jide, casey: inconsistent code style in toolbar.js.
-rw-r--r-- | modules/toolbar/toolbar.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index 5bf10230b..c8f28ed9e 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -71,7 +71,7 @@ function toolbar_menu() { function toolbar_toggle_page() { global $base_path; // Toggle the value in the cookie. - setcookie('Drupal.admin.toolbar.collapsed', !_toolbar_is_collapsed(), NULL, $base_path); + setcookie('Drupal.toolbar.collapsed', !_toolbar_is_collapsed(), NULL, $base_path); // Redirect the user from where he used the toggle element. drupal_goto(); } @@ -177,7 +177,7 @@ function toolbar_view() { $module_path . '/toolbar.js', array('data' => 'misc/jquery.cookie.js', 'weight' => JS_LIBRARY + 2), array( - 'data' => array('tableHeaderOffset' => 'Drupal.admin.toolbar.height'), + 'data' => array('tableHeaderOffset' => 'Drupal.toolbar.height'), 'type' => 'setting' ), ), |