Bug 368456 - 'Close Tab' in the context menu for tabs should not be disabled when only one tab is open. r=gavin.

This commit is contained in:
mozilla.mano@sent.com 2007-08-21 22:02:28 -07:00
parent 93fd6a8c02
commit 89269ed0ee

View File

@ -92,7 +92,6 @@
tabbrowser.removeAllTabsBut(tabbrowser.mContextTab);"/>
<xul:menuseparator/>
<xul:menuitem label="&closeTab.label;" accesskey="&closeTab.accesskey;"
tbattr="tabbrowser-multiple"
oncommand="var tabbrowser = this.parentNode.parentNode.parentNode.parentNode;
tabbrowser.removeTab(tabbrowser.mContextTab);"/>
</xul:menupopup>