[Chameleon-dev] [Bug 368] New: multiple submit problem in IE
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Thu May 6 13:32:10 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=368
Summary: multiple submit problem in IE
Product: Chameleon
Version: 1.99
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
we have made some changes in Chameleon to prevent the multiple submit
crash of Chameleon in Internet Explorer. The main problem was the form
could be submitted when the page was not fully loaded.
Basically, what we have done is the following:
create a mySubmit() function in the HTML template:
var bBusy = true;
function mySubmit()
{
if (! bBusy)
{
bBusy = true;
document.forms[0].submit();
}
}
on the OnLoad function of the body we set bBusy to false.
In all the widgets we have replaced document.forms[0].submit() with a call
to mySubmit().
Hopefully you can implement this in a more generic way during the
Javascript redesign for Chameleon 2.0.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list