js/switchmenuframe.js entfernt
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 14 Jan 2016 10:57:22 +0000 (11:57 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 14 Jan 2016 10:57:22 +0000 (11:57 +0100)
seit dem letzten Layout rework ist das nicht mehr benutzt,
also weg damit

SL/Form.pm
SL/Layout/MenuLeft.pm
js/switchmenuframe.js [deleted file]

index 40ce4d6..a1b4198 100644 (file)
@@ -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";
index 17ea51a..2f99944 100644 (file)
@@ -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 (file)
index ed7c48f..0000000
+++ /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);
-})