diff --git a/mozilla/toolkit/mozapps/extensions/content/extensions.js b/mozilla/toolkit/mozapps/extensions/content/extensions.js index 2d79a01cfc4..b915fe9018e 100644 --- a/mozilla/toolkit/mozapps/extensions/content/extensions.js +++ b/mozilla/toolkit/mozapps/extensions/content/extensions.js @@ -491,7 +491,7 @@ function flushDataSource() function noUpdatesDismiss(aEvent) { - window.removeEventListener("command", noUpdatesDismiss, true); + window.removeEventListener("select", noUpdatesDismiss, true); var children = gExtensionsView.children; for (var i = 0; i < children.length; ++i) { @@ -770,7 +770,7 @@ function Shutdown() os.removeObserver(gDownloadManager, "xpinstall-download-started"); var currentNotification = document.getElementById("addonsMsg").currentNotification; if (currentNotification && currentNotification.value == "addons-no-updates") - window.removeEventListener("command", noUpdatesDismiss, true); + window.removeEventListener("select", noUpdatesDismiss, true); } /////////////////////////////////////////////////////////////////////////////// @@ -1010,7 +1010,7 @@ UpdateCheckListener.prototype = { showMessage("chrome://mozapps/skin/extensions/question.png", getExtensionString("noUpdatesMsg"), null, null, true, "addons-no-updates"); - window.addEventListener("command", noUpdatesDismiss, true); + window.addEventListener("select", noUpdatesDismiss, true); } },