From: Sven Schöling Date: Thu, 27 Sep 2012 09:58:26 +0000 (+0200) Subject: cookie magic aus js/switchmenuframe.js entfernt, funktioniert nicht richtig X-Git-Tag: release-3.0.0beta1~135 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=40e7d5d9f57e375fe9500fde6e5b985c45f9d0fe;p=kivitendo-erp.git cookie magic aus js/switchmenuframe.js entfernt, funktioniert nicht richtig --- diff --git a/js/switchmenuframe.js b/js/switchmenuframe.js index 27d0736e8..ed7c48f29 100644 --- a/js/switchmenuframe.js +++ b/js/switchmenuframe.js @@ -1,8 +1,7 @@ -var vSwitch_Menu = 0; +var vSwitch_Menu = 1; function Switch_Menu() { vSwitch_Menu=!vSwitch_Menu; SetMenuFolded(vSwitch_Menu); - $.cookie('html-menu-folded', vSwitch_Menu); } function SetMenuFolded(on) { if (on) { @@ -14,6 +13,5 @@ function SetMenuFolded(on) { } } $(function(){ - vSwitch_Menu = $.cookie('html-menu-folded'); SetMenuFolded(vSwitch_Menu); })