Bug 386020 - NS_ERROR_DOM_WRONG_DOCUMENT_ERR in clearOutputDeck. Patch by Mook <mook.moz+mozbz@gmail.com>. r=silver
git-svn-id: svn://10.0.0.236/trunk@229405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2970,7 +2970,7 @@ function s2v_cleardeck ()
|
||||
while (i > 0)
|
||||
this.deck.removeChild (this.deck.childNodes[--i]);
|
||||
|
||||
var bloke = document.createElement ("tab");
|
||||
var bloke = this.tabs.ownerDocument.createElement("tab");
|
||||
bloke.setAttribute ("id", "source2-bloke");
|
||||
bloke.setAttribute ("hidden", "true");
|
||||
this.tabs.appendChild (bloke);
|
||||
|
||||
Reference in New Issue
Block a user