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:
jaggernaut%netscape.com 2006-07-27 14:53:40 +00:00
parent cc9afb6ee2
commit 8fca470a43

View File

@ -99,7 +99,7 @@
addContextMenuItemListeners : function (aEvent) {
var contextPopup = document.getElementById("contentAreaContextSet");
contextPopup.addEventListener("create", cookieContextMenu.initImageBlocking, false);
contextPopup.addEventListener("popupshowing", cookieContextMenu.initImageBlocking, false);
}
}