Bug 741132 - Plugin doorhanger reappears after switching tabs after Flash has been enabled. r=mfinkle

This commit is contained in:
Margaret Leibovic 2012-04-12 12:34:48 -07:00
parent bbaf8219c0
commit 7d62a87dcc

View File

@ -1975,6 +1975,9 @@ Tab.prototype = {
let tab = BrowserApp.getTabForWindow(win);
tab.clickToPlayPluginsActivated = true;
PluginHelper.playAllPlugins(win);
if (tab.clickToPlayPluginDoorhangerShown)
NativeWindow.doorhanger.hide("ask-to-play-plugins", tab.id);
}, true);
break;
}