From b70da193f851ac4e0d9d0b098a75e098e1bfd64c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 14 Jan 2016 11:57:22 +0100 Subject: [PATCH] js/switchmenuframe.js entfernt seit dem letzten Layout rework ist das nicht mehr benutzt, also weg damit --- SL/Form.pm | 2 +- SL/Layout/MenuLeft.pm | 1 - js/switchmenuframe.js | 17 ----------------- 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 js/switchmenuframe.js 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); -}) -- 2.20.1