Bug 303058 - Missing plugin bar no longer appears. r=mconnor

This commit is contained in:
doronr%us.ibm.com 2005-08-15 15:46:51 +00:00
parent 4169d30328
commit cfe6f6a0e5

View File

@ -5792,7 +5792,7 @@ missingPluginInstaller.prototype.newMissingPlugin = function(aEvent){
var tabbrowser = getBrowser();
const browsers = tabbrowser.mPanelContainer.childNodes;
var window = aEvent.target.ownerDocument.__parent__;
var window = aEvent.target.ownerDocument.defaultView;
// walk up till the toplevel window
while (window.parent != window)
window = window.parent;