diff --git a/mozilla/browser/base/content/browser.js b/mozilla/browser/base/content/browser.js index 741093c86ef..81e91463e69 100644 --- a/mozilla/browser/base/content/browser.js +++ b/mozilla/browser/base/content/browser.js @@ -6150,6 +6150,15 @@ missingPluginInstaller.prototype.newMissingPlugin = function(aEvent){ } } +missingPluginInstaller.prototype.closeNotification = function() { + var notificationBox = gBrowser.getNotificationBox(); + var notification = notificationBox.getNotificationWithValue("missing-plugins"); + + if (notification) { + notificationBox.removeNotification(notification); + } +} + function pluginsMissing() { // get the urls of missing plugins diff --git a/mozilla/toolkit/mozapps/plugins/content/pluginInstallerWizard.js b/mozilla/toolkit/mozapps/plugins/content/pluginInstallerWizard.js index f321ed3ef10..c84d84b4c97 100644 --- a/mozilla/toolkit/mozapps/plugins/content/pluginInstallerWizard.js +++ b/mozilla/toolkit/mozapps/plugins/content/pluginInstallerWizard.js @@ -646,7 +646,7 @@ function wizardFinish(){ // clear the tab's plugin list only if we installed at least one plugin gPluginInstaller.mTab.missingPlugins = null; // reset UI - window.opener.getBrowser().hideMessage(null, "top"); + window.opener.gMissingPluginInstaller.closeNotification(); // reload the browser to make the new plugin show window.opener.getBrowser().reloadTab(gPluginInstaller.mTab); }