Closed
Bug 73172
Opened 23 years ago
Closed 23 years ago
Right click on links with OnClick() fires event
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: a.schild, Assigned: joki)
Details
When having a link with a OnClick() function defined, this function is executed, even when I do a click with the right mouse button. Expected result: OnClick() method not executed for "non-left" mouseclicks. NS4.x and IE5.x don't fire this event Steps to reproduce: Right-Click on the Delete link below and the Confirmation dialog pops up. <html> <body> <script language="JavaScript"> <!-------------------// function sure() { return confirm('Delete this entry?') } //--------------------> </script> <a HREF="modify.html">Modify</a> <a HREF="DoDelete.html" onClick='return sure()'>Delete</a> </body> </html>
Comment 1•23 years ago
|
||
Browser, not engine. Reassigning to Event Handling component. Confirming on WinNT and Linux with 2001-03-22 debug builds. OS Windows 2000 --> All.
Assignee: rogerl → joki
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Event Handling
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: pschwartau → gerardok
Comment 2•23 years ago
|
||
In fact, looks like a duplicate - *** This bug has been marked as a duplicate of 71705 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•23 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•23 years ago
|
||
Verified dupe.
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•