mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
Bug 94458: change dynamically registered listeners to "create" and "destroy" events to listen to "popupshowing" and "popuphiding". r=bryner, sr=hyatt
This commit is contained in:
parent
cc9afb6ee2
commit
8fca470a43
@ -99,7 +99,7 @@
|
||||
|
||||
addContextMenuItemListeners : function (aEvent) {
|
||||
var contextPopup = document.getElementById("contentAreaContextSet");
|
||||
contextPopup.addEventListener("create", cookieContextMenu.initImageBlocking, false);
|
||||
contextPopup.addEventListener("popupshowing", cookieContextMenu.initImageBlocking, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user