]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/is/form_header.html
Rechnungsmaske: Browser-Zurück verhindern
[mfinanz.git] / templates / webpages / is / form_header.html
index b155850ababf14c22f4890a4e8d3e1b1d6abe5bf..4c3e738f7c6258150361df9dc69e6d149b38579a 100644 (file)
   <script type="text/javascript">
    <!--
      $('document').ready(function(){
+       function disableBack() { window.history.forward() };
+       window.onload = disableBack();
+       window.onpageshow = function(evt) { if (evt.persisted) disableBack() };
+
 [% IF resubmit && is_format_html %]
        window.open('about:blank','Beleg');
        document.invoice.target = 'Beleg';