Bug 768235 - Setting BrowserEventHandler.blockClick = true does nothing. r=mbrubeck

This commit is contained in:
Michael Comella 2012-06-27 09:24:28 -07:00
parent 2b33007e08
commit 9a96ad68f9

View File

@ -1268,7 +1268,6 @@ var NativeWindow = {
// only send the contextmenu event to content if we are planning to show a context menu (i.e. not on every long tap)
if (this.menuitems) {
BrowserEventHandler.blockClick = true;
let event = rootElement.ownerDocument.createEvent("MouseEvent");
event.initMouseEvent("contextmenu", true, true, content,
0, aX, aY, aX, aY, false, false, false, false,