From 742d722d9e9932d235938d17a5102a034eec7d4c Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 25 Mar 2009 13:26:41 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=81=AE=E6=8A=98=E3=82=8A?= =?UTF-8?q?=E7=95=B3=E3=81=BF=E7=8A=B6=E6=85=8B=E3=81=AE=E5=A4=89=E5=8C=96?= =?UTF-8?q?=E3=81=AB=E5=BF=9C=E3=81=98=E3=81=A6TreeStyleTabCollapsedStateC?= =?UTF-8?q?hange=E3=82=A4=E3=83=99=E3=83=B3=E3=83=88=E3=82=92=20=E7=99=BA?= =?UTF-8?q?=E8=A1=8C=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= 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@3906 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 7761ee50..fdbad510 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -2889,6 +2889,11 @@ TreeStyleTabBrowser.prototype = { this.setTabValue(aTab, this.kCOLLAPSED, aCollapse); + var event = document.createEvent('Events'); + event.initEvent('TreeStyleTabCollapsedStateChange', true, true); + event.collapsed = aCollapse; + aTab.dispatchEvent(event); + var b = this.mTabBrowser; var parent; if (aCollapse && aTab == b.selectedTab && (parent = this.getParentTab(aTab))) {