From 05f5180b81055fd60bbb4e566c9dc92e4e6a47ef Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 7 Jul 2009 08:31:00 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=81=AE=E3=82=B3=E3=83=B3?= =?UTF-8?q?=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88=E3=83=A1=E3=83=8B=E3=83=A5?= =?UTF-8?q?=E3=83=BC=E3=81=AE=E3=81=86=E3=81=A1=E3=81=84=E3=81=8F=E3=81=A4?= =?UTF-8?q?=E3=81=8B=E3=81=AE=E9=A0=85=E7=9B=AE=E3=81=8C=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=81=AA=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=97=E3=81=BE=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=81=AE?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4655 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 05cccfbc..452b925a 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -2091,7 +2091,20 @@ TreeStyleTabBrowser.prototype = { item.removeAttribute('hidden'); else item.setAttribute('hidden', true); - this.showHideSubTreeMenuItem(item, [b.mContextTab]); + switch (aID) + { + case this.kMENUITEM_RELOADSUBTREE: + case this.kMENUITEM_RELOADCHILDREN: + case this.kMENUITEM_REMOVESUBTREE: + case this.kMENUITEM_REMOVECHILDREN: + case this.kMENUITEM_COLLAPSE: + case this.kMENUITEM_EXPAND: + case this.kMENUITEM_BOOKMARKSUBTREE: + this.showHideSubTreeMenuItem(item, [b.mContextTab]); + break; + default: + break; + } }, this); // collapse/expand all