From 8fca470a43cd399cc63c41ae90227ac2ab1c5355 Mon Sep 17 00:00:00 2001 From: "jaggernaut%netscape.com" Date: Thu, 27 Jul 2006 14:53:40 +0000 Subject: [PATCH] Bug 94458: change dynamically registered listeners to "create" and "destroy" events to listen to "popupshowing" and "popuphiding". r=bryner, sr=hyatt --- suite/common/permissions/imageContextOverlay.xul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/common/permissions/imageContextOverlay.xul b/suite/common/permissions/imageContextOverlay.xul index f12b6e19081a..3d31483dd4de 100644 --- a/suite/common/permissions/imageContextOverlay.xul +++ b/suite/common/permissions/imageContextOverlay.xul @@ -99,7 +99,7 @@ addContextMenuItemListeners : function (aEvent) { var contextPopup = document.getElementById("contentAreaContextSet"); - contextPopup.addEventListener("create", cookieContextMenu.initImageBlocking, false); + contextPopup.addEventListener("popupshowing", cookieContextMenu.initImageBlocking, false); } }