Bei javascriptmenü im Druck auch das Layout ausblenden
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 19 Nov 2012 14:53:15 +0000 (15:53 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 19 Nov 2012 14:53:35 +0000 (15:53 +0100)
behebt #2029

css/kivitendo/menu.css
css/lx-office-erp/menu.css
templates/webpages/menu/menunew.html

index ca7b2a2..1b004b7 100644 (file)
@@ -181,7 +181,7 @@ li.sub {
 body { margin: 0 }
 
 @media print {
-  #menuv3, #html-menu, #frame-header, #js-menu {   /* items with this class won't print */
+  #menuv3, #html-menu, #frame-header, #main_menu_div, #js-header {   /* items with this class won't print */
     display: none;
   }
   #content.html-menu { margin-left: 0; }
index 318b380..42eb844 100644 (file)
@@ -190,7 +190,7 @@ body { margin: 0 }
 
 
 @media print {
-  #menuv3, #html-menu, #frame-header, #js-menu {   /* items with this class won't print */
+  #menuv3, #html-menu, #frame-header, #main_menu_div, #js-header {   /* items with this class won't print */
     display: none;
   }
   #content.html-menu { margin-left: 0; }
index b54c9be..e92a83d 100644 (file)
@@ -15,7 +15,7 @@ $(clockon);
 
  <script type="text/javascript" src="js/dhtmlsuite/menu-for-applications.js"></script>
 
- <table class="menunew">
+ <table id='js-header' class="menunew">
   <tr>
    <td>
     &nbsp;