Remove extra trailing brackets to fix orange, rs=brendan

git-svn-id: svn://10.0.0.236/trunk@232781 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com 2007-08-22 05:04:47 +00:00
parent 21644d9801
commit 45c35122ed

View File

@ -1295,18 +1295,17 @@
<parameter name="aTab"/>
<body>
<![CDATA[
if (this.warnAboutClosingTabs(false)) {
if (aTab.localName != "tab")
aTab = this.mCurrentTab;
else
this.mTabContainer.selectedItem = aTab;
if (this.warnAboutClosingTabs(false)) {
if (aTab.localName != "tab")
aTab = this.mCurrentTab;
else
this.mTabContainer.selectedItem = aTab;
var childNodes = this.mTabContainer.childNodes;
var childNodes = this.mTabContainer.childNodes;
for (var i = childNodes.length - 1; i >= 0; --i) {
if (childNodes[i] != aTab)
this.removeTab(childNodes[i]);
}
for (var i = childNodes.length - 1; i >= 0; --i) {
if (childNodes[i] != aTab)
this.removeTab(childNodes[i]);
}
}
]]>
@ -1496,7 +1495,6 @@
// see comment above destroy above
oldBrowser.focusedWindow = null;
oldBrowser.focusedElement = null;
}
]]>
</body>
</method>