From e88f38f95d1e6c3e63c77ed661653fc09935d77b Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Tue, 30 Nov 2010 16:45:03 +0900 Subject: [PATCH] set initial state of tabs: subtree can be collapsed --- content/treestyletab/treestyletabbrowser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index ebab5c12..11cbd59d 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -796,6 +796,7 @@ TreeStyleTabBrowser.prototype = { var id = this.getTabValue(aTab, this.kID) || this.makeNewId(); aTab.setAttribute(this.kID, id); aTab.setAttribute(this.kSUBTREE_COLLAPSED, true); + aTab.setAttribute(this.kALLOW_COLLAPSE, true); window.setTimeout(function(aSelf) { if (!aSelf.getTabValue(aTab, aSelf.kID)) { aSelf.setTabValue(aTab, aSelf.kID, id);