]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/dn.pl
Bugfix für einen meiner letzten Commits: Beim Anklicken von "Lieferadresse" blieb...
[mfinanz.git] / bin / mozilla / dn.pl
index c1d0f8bf6a1ea2042090bbb045aea36e8452fc37..50c602b408e778bdee621f7f8c4a15000c199a5e 100644 (file)
@@ -448,7 +448,7 @@ sub show_invoices {
 <body>
 <script type="text/javascript" src="js/common.js"></script>
 <script type="text/javascript" src="js/dunning.js"></script>
-<form method=post action=$form->{script}>
+<form name=Form method=post action=$form->{script}>
 
 
 <table width=100%>
@@ -530,11 +530,14 @@ print qq|
 
 <input type=hidden name=path value=$form->{path}>
 <input type=hidden name=login value=$form->{login}>
-<input type=hidden name=password value=$form->{password}>
-
-<input class=submit type=submit name=action value="|
-    . $locale->text('Continue') . qq|">|;
-
+<input type=hidden name=password value=$form->{password}>|;
+#print qq|
+# <input type="submit" name="action" value="|
+#     . $locale->text('Continue') . qq|">|;
+print qq|
+<input type="hidden" name="action">
+<input type="submit" name="dummy" value="|
+    . $locale->text('Continue') . qq|" onclick="this.disabled=true; this.value='| . $locale->text("The dunning process started") . qq|'; document.Form.action.value='| . $locale->text('Continue') . qq|'; document.Form.submit()">|;
   if ($form->{menubar}) {
     require "$form->{path}/menu.pl";
     &menubar;