diff roundup/cgi/templating.py @ 1970:52d77d3be040 maint-0.6

fixed IE double-submit when it shouldn't [SF#842254]
author Richard Jones <richard@users.sourceforge.net>
date Sat, 17 Jan 2004 01:46:26 +0000
parents 63d588757872
children bf876bb5c19b
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Jan 15 00:05:52 2004 +0000
+++ b/roundup/cgi/templating.py	Sat Jan 17 01:46:26 2004 +0000
@@ -1687,6 +1687,7 @@
 function submit_once() {
     if (submitted) {
         alert("Your request is being processed.\\nPlease be patient.");
+        event.returnValue = 0;    // work-around for IE
         return 0;
     }
     submitted = true;

Roundup Issue Tracker: http://roundup-tracker.org/