From 85250a3d9e70ec8a293835eff928ccc2dd941c19 Mon Sep 17 00:00:00 2001 From: "rob_strong%exchangecode.com" Date: Thu, 6 Sep 2007 01:07:53 +0000 Subject: [PATCH] Bug 353540 - Options, disable and uninstall button not available after 'Find updates' without dismissing 'No Updates Were Found' notification. r=dtownsend git-svn-id: svn://10.0.0.236/trunk@233996 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/mozapps/extensions/content/extensions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } },