ignore applets, plugins, and embed tags in mac click-hold context menu code. r=pchen/sr=hyatt/a=asa. bug 77774.
git-svn-id: svn://10.0.0.236/trunk@96329 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
17d2ba2b43
commit
aec0070388
@ -932,6 +932,8 @@ nsEventStateManager :: FireContextClick ( )
|
||||
allowedToDispatch = PR_FALSE;
|
||||
else if ( tag == nsXULAtoms::scrollbar || tag == nsXULAtoms::scrollbarbutton || tag == nsXULAtoms::button )
|
||||
allowedToDispatch = PR_FALSE;
|
||||
else if ( tag == nsHTMLAtoms::applet || tag == nsHTMLAtoms::object || tag == nsHTMLAtoms::embed )
|
||||
allowedToDispatch = PR_FALSE;
|
||||
|
||||
if ( allowedToDispatch ) {
|
||||
// stop selection tracking, we're in control now
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user