From: Sven Schöling Date: Thu, 14 Jan 2016 10:57:22 +0000 (+0100) Subject: js/switchmenuframe.js entfernt X-Git-Tag: release-3.4.1~465 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b70da193f851ac4e0d9d0b098a75e098e1bfd64c;p=kivitendo-erp.git js/switchmenuframe.js entfernt seit dem letzten Layout rework ist das nicht mehr benutzt, also weg damit --- diff --git a/SL/Form.pm b/SL/Form.pm index 40ce4d68b..a1b419821 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -480,7 +480,7 @@ sub header { jquery jquery-ui jquery.cookie jquery.checkall jquery.download jquery/jquery.form jquery/fixes client_js jquery/jquery.tooltipster.min - common part_selection switchmenuframe + common part_selection ), "jquery/ui/i18n/jquery.ui.datepicker-$::myconfig{countrycode}"); $self->{favicon} ||= "favicon.ico"; diff --git a/SL/Layout/MenuLeft.pm b/SL/Layout/MenuLeft.pm index 17ea51a97..2f99944d0 100644 --- a/SL/Layout/MenuLeft.pm +++ b/SL/Layout/MenuLeft.pm @@ -22,7 +22,6 @@ sub javascripts_inline { sub javascripts { qw( js/jquery.cookie.js - js/switchmenuframe.js ); } diff --git a/js/switchmenuframe.js b/js/switchmenuframe.js deleted file mode 100644 index ed7c48f29..000000000 --- a/js/switchmenuframe.js +++ /dev/null @@ -1,17 +0,0 @@ -var vSwitch_Menu = 1; -function Switch_Menu() { - vSwitch_Menu=!vSwitch_Menu; - SetMenuFolded(vSwitch_Menu); -} -function SetMenuFolded(on) { - if (on) { - $('#html-menu').removeClass('folded'); - $('#content').removeClass('folded'); - } else { - $('#html-menu').addClass('folded'); - $('#content').addClass('folded'); - } -} -$(function(){ - SetMenuFolded(vSwitch_Menu); -})