103354 for Phoenix - if we do want this for Phoenix, we can put it back in, but Phoenix is broke if we don't remove the reference to the close tab in the DTD file

This commit is contained in:
mkaply%us.ibm.com 2003-01-31 14:32:43 +00:00
parent 0ec80cf1ba
commit 5e0834feef

View File

@ -71,11 +71,6 @@
tbattr="tabbrowser-multiple"
oncommand="var tabbrowser = this.parentNode.parentNode.parentNode.parentNode;
tabbrowser.removeTab(tabbrowser.mContextTab);"/>
<xul:menuseparator/>
<xul:menuitem label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;"
tbattr="tabbrowser-multiple"
oncommand="var tabbrowser = this.parentNode.parentNode.parentNode.parentNode;
tabbrowser.removeAllTabsBut(tabbrowser.mContextTab);"/>
</xul:menupopup>
<xul:tabs class="tabbrowser-tabs" closebutton="true" flex="1"
@ -707,29 +702,6 @@
</body>
</method>
<method name="removeAllTabsBut">
<parameter name="aTab"/>
<body>
<![CDATA[
if (aTab.localName != "tab")
aTab = this.mCurrentTab;
var l = this.mTabContainer.childNodes.length;
if (l == 1)
return;
for (var i = 0; i < l; i++) {
var tab = this.mTabContainer.childNodes[i];
if (tab != aTab) {
this.removeTab(tab);
i--;
l--;
}
}
]]>
</body>
</method>
<method name="removeCurrentTab">
<body>
<![CDATA[