Closed Bug 294575 Opened 20 years ago Closed 19 years ago

shift/ctrl clicking a link executes javascript code in existing page - open in new window/tab from context menu does not

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 151142

People

(Reporter: Simon80, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050517 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050517 Firefox/1.0+

see subject

Reproducible: Always

Steps to Reproduce:
1.Go to any bug in bugzilla
2.open a reply link in a new window or tab using context menu or middle click
3.shift/ctrl click a reply link

Actual Results:  
shift/ctrl clicking adds reply text to the comment textbox, doing the same thing
from right clicking on a link does not.

Expected Results:  
the behaviours should be consistent, one way or the other... I would expect the
code to not execute
well, we're executing an onclick js handler, which doesn't fire on right-click.
 In theory we could block the event bubble but I'm not sure if that would fix
this case.  Not a big deal, overall.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All

*** This bug has been marked as a duplicate of 151142 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.