]> wagnertech.de Git - kivitendo-erp.git/commitdiff
main_window gibt's nicht mehr
authorSven Donath <lxo@dexo.de>
Thu, 18 Oct 2012 15:33:21 +0000 (17:33 +0200)
committerSven Donath <lxo@dexo.de>
Thu, 18 Oct 2012 15:33:21 +0000 (17:33 +0200)
templates/webpages/menu/header.html
templates/webpages/menu/menunew.html
templates/webpages/menu/menuv3.html

index 26760fedd88429654f3896d6cfda1d3162d9bc68..44f6c79cf4eb238d1c2a097ea75c6317c67a430e 100644 (file)
@@ -4,9 +4,9 @@
  <span class="frame-header-element frame-header-left">
     [<a href="JavaScript:Switch_Menu();" title="[% 'Switch Menu on / off' | $T8 %]">[% 'Menu' | $T8 %]</a>]
     [<a href="controller.pl?action=LoginScreen/user_login" target="_blank" title="[% 'Open a further kivitendo window or tab' | $T8 %]">[% 'New window/tab' | $T8 %]</a>]
-    [<a href="JavaScript:top.main_window.print();" title="[% 'Hardcopy' | $T8 %]">[% 'Print' | $T8 %]</a>]
-    [<a href="Javascript:top.main_window.history.back();" title="[% 'Go one step back' | $T8 %]">[% 'Back' | $T8 %]</a>]
-    [<a href="Javascript:top.main_window.history.forward();" title="[% 'Go one step forward' | $T8 %]">[% 'Fwd' | $T8 %]</a>]
+    [<a href="JavaScript:top.print();" title="[% 'Hardcopy' | $T8 %]">[% 'Print' | $T8 %]</a>]
+    [<a href="Javascript:top.history.back();" title="[% 'Go one step back' | $T8 %]">[% 'Back' | $T8 %]</a>]
+    [<a href="Javascript:top.history.forward();" title="[% 'Go one step forward' | $T8 %]">[% 'Fwd' | $T8 %]</a>]
  </span>
 [%- END %]
 [% IF is_fastcgi && LXCONFIG.debug.show_debug_menu %]
index 630667f0c209d2af4a9bc99a4f7247c72ae2bf40..ac040be689c256e43097cff53880e8eb291fde9a 100644 (file)
@@ -21,7 +21,7 @@ $(clockon);
     &nbsp;
     [<a href="menunew.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
     &nbsp;
-    [<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
+    [<a href="JavaScript:top.print()">[% 'print' | $T8 %]</a>]
    </td>
    <td align="right" nowrap>
     [[% 'User' | $T8 %]: [% HTML.escape(MYCONFIG.login) %] -
index b3f064a5c0d04211d20caa77254d9fbf0f50c05e..13e43bb019a6a8cc4fb633d9e2740cb46f613340 100644 (file)
@@ -44,7 +44,7 @@ $(clockon);
     &nbsp;
     [<a href="menuv3.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
     &nbsp;
-    [<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
+    [<a href="JavaScript:top.print()">[% 'print' | $T8 %]</a>]
     &nbsp;
     [[% 'Search contacts' | $T8 %] <input size="15" name="search_term" id="search_term" onkeydown="return on_keydown_quicksearch(event)">]
    </td>