This commit is contained in:
Piro / SHIMODA Hiroshi 2011-06-19 22:57:35 +09:00
parent 3a2a5e8844
commit 131d15c8cb

View File

@ -3906,7 +3906,7 @@ TreeStyleTabBrowser.prototype = {
// close all tabs but this tree
let removeAllTabsBut = items[this.kMENUITEM_REMOVEALLTABSBUT];
if (remoteAllTabsBug) {
if (removeAllTabsBut) {
let rootTabs = this.visibleRootTabs;
if (rootTabs.length == 1 && rootTabs[0] == b.mContextTab)
removeAllTabsBut.setAttribute('disabled', true);