Skip to content

Commit 841a9cc

Browse files
author
Richard Jones
committed
fixed IE double-submit when it shouldn't [SF#842254]
1 parent 2c9ad5a commit 841a9cc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ are given with the most recent entry first.
55
Fixed:
66
- mailgw handling of subject-line errors
77
- allow serving of non-"file"-Class file content (eg. paper_file)
8-
- allow negative (new) ids in getItem
8+
- allowed negative ids (ie. new item markers) in HTMLClass.getItem,
9+
allowing "db/file_with_status/-1/status/menu" to generate a useful
10+
widget
911
- fixed content-type when templates are serving up xml (thanks Godefroid
1012
Chapelle)
13+
- fixed IE double-submit when it shouldn't (sf bug 842254)
1114

1215

1316
2003-12-17 0.6.4

roundup/cgi/templating.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,6 +1687,7 @@ def base_javascript(self):
16871687
function submit_once() {
16881688
if (submitted) {
16891689
alert("Your request is being processed.\\nPlease be patient.");
1690+
event.returnValue = 0; // work-around for IE
16901691
return 0;
16911692
}
16921693
submitted = true;

0 commit comments

Comments
 (0)