Closed
Bug 292636
Opened 19 years ago
Closed 19 years ago
Using Javascript to remove an entry from a mutliple select list causes Firefox to 'stick' on the select box for the next click
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: cory.joyce, Unassigned)
References
()
Details
Attachments
(1 file)
901 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 When removing an item from a multiple select box using the onclick event the next click will process as if the entire screen was the select box. Instead of processing what is under the cursor when you click Firefox (and Mozilla) will call the onclick event on the list. I have tried changing the focus and bluring before removing the item and it does not help. Reproducible: Always Steps to Reproduce: 1.Create a select box allowing multiple selections. 2.Add an onchange action to remove the selected item. [<select onchange='this.remove(this.selectedIndex);' onclick='alert("clicked");' multiple='true' > ] 3.Click an item in the select box. Actual Results: The next click will call the onclick event instead of what is under the cursor. Expected Results: Process what is under the cursor.
Comment 1•19 years ago
|
||
Please attach a testcase showing the issue: https://bugzilla.mozilla.org/attachment.cgi?bugid=292636&action=enter
Reporter | ||
Updated•19 years ago
|
Reporter | ||
Comment 2•19 years ago
|
||
Updated•19 years ago
|
Attachment #182492 -
Attachment mime type: text/plain → text/html
Comment 3•19 years ago
|
||
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050720 Firefox/1.0+ pleae reopen if you can reproduce with a nitghly build
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 4•19 years ago
|
||
(In reply to comment #3) > WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050720 > Firefox/1.0+ > > pleae reopen if you can reproduce with a nitghly build Broken in 1.06, fixed in nightly.
You need to log in
before you can comment on or make changes to this bug.
Description
•