From 74fe091c2f686b0ad4674c8ac06a7b3c188a894a Mon Sep 17 00:00:00 2001 From: "ben%bengoodger.com" Date: Mon, 12 Jul 2004 23:24:49 +0000 Subject: [PATCH] clicking on link in Software Update slideup notifier does nothing --- .../mozapps/update/src/nsBackgroundUpdateService.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/toolkit/mozapps/update/src/nsBackgroundUpdateService.js b/toolkit/mozapps/update/src/nsBackgroundUpdateService.js index b46280ec41d0..666528661e3e 100644 --- a/toolkit/mozapps/update/src/nsBackgroundUpdateService.js +++ b/toolkit/mozapps/update/src/nsBackgroundUpdateService.js @@ -572,6 +572,17 @@ nsUpdateObserver.prototype = { updates.checkForUpdates([], 0, Components.interfaces.nsIUpdateItem.TYPE_ANY, Components.interfaces.nsIUpdateService.SOURCE_EVENT_USER, null); + }, + + ///////////////////////////////////////////////////////////////////////////// + // nsISupports + QueryInterface: function (aIID) + { + if (!aIID.equals(Components.interfaces.nsIObserver) && + !aIID.equals(Components.interfaces.nsIAlertListener) && + !aIID.equals(Components.interfaces.nsISupports)) + throw Components.results.NS_ERROR_NO_INTERFACE; + return this; } };