From 139f4375615216dfd077caba957508ff60778f45 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Fri, 29 Jan 2010 14:26:26 +0000 Subject: [PATCH] - Patch #686670 by mfer, seutje, jide, casey: inconsistent code style in toolbar.js. --- modules/toolbar/toolbar.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index 5bf10230ba0a..c8f28ed9e9eb 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' ), ), -- GitLab