Fix bug 338342 - clicking Finish in pfs no longer works. r=mconnor

git-svn-id: svn://10.0.0.236/trunk@198406 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
doronr%us.ibm.com 2006-05-25 20:03:51 +00:00
parent de0084ccad
commit b26ba7c7f4
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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);
}