[Webkit-unassigned] [Bug 26211] New: Cancel in onbeforeunload dialog sometime cause a button stop working
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 5 01:48:14 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=26211
Summary: Cancel in onbeforeunload dialog sometime cause a button
stop working
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krudtaa at yahoo.com
If you (have a form and) are using the onbeforeunload
Then you have a button which run code like this:
document.frmName.submit();
which causes the onbeforeunload to trigger
If you then press "Cancel" (Safari) or "Stay on this page" (Chrome)
then, if you try clicking the same button again, nothing happens.
Now, if you have a textfield on the same page, you could mouse-click on the
text field to put cursor in textfield and then TAB out of the tetfield (using
TAB key) and the button will start working again.
(If you just mouse-click inside the textfield and then mouse-click outside the
textfield again, then button will not start working again.)
Please see testcase to see how this works.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list