[Webkit-unassigned] [Bug 14443] Forms dont submit when disabling submit button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 27 05:12:53 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=14443





--- Comment #5 from Kaustubh Atrawalkar <kaustubh at motorola.com>  2011-09-27 05:12:52 PST ---
This seems to be old but existing issue. During initial implementation of SubmitInputType::handleDOMActivateEvent (revision - 72059 -http://trac.webkit.org/changeset/72059/trunk/WebCore/html/SubmitInputType.cpp)

There was check added to see if submitButton->disabled() but this line will never hit infact the function will not be called if the button is disabled. In the use case, the onclick script it handled first making the button disabled and then continued to handleDOMActivateEvent where it returns due to disabled submitButton. Should be removed that check. Attaching patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list