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:
parent
de0084ccad
commit
b26ba7c7f4
@ -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
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user