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:
sdwilsh%shawnwilsher.com
2007-07-06 01:47:41 +00:00
parent 823041c5c1
commit 9bd6a9ada4

View File

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