Bug 664669 - tab._tabViewTabIsRemovedAfterRestore should be attached to the tabItem rather than the xulTab; r=dao

This commit is contained in:
Tim Taubert
2011-06-17 18:47:43 +02:00
parent 42eedd7151
commit 176fca4112
2 changed files with 4 additions and 3 deletions

View File

@@ -368,8 +368,8 @@ let TabView = {
if (this._window) {
this._window.UI.restoredClosedTab = true;
if (blankTabToRemove)
blankTabToRemove._tabViewTabIsRemovedAfterRestore = true;
if (blankTabToRemove && blankTabToRemove._tabViewTabItem)
blankTabToRemove._tabViewTabItem.isRemovedAfterRestore = true;
}
},