From 801e04b7950fc1f3633267b2d8edca93e9324b1d Mon Sep 17 00:00:00 2001 From: piro Date: Thu, 16 Sep 2010 11:06:21 +0000 Subject: [PATCH] hiddenTabs, shownTabs git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7244 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 2456ef3c..7250ddd0 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -2548,6 +2548,8 @@ TreeStyleTabBrowser.prototype = { updateTreeByTabVisibility : function TSTBrowser_updateTreeByTabVisibility(aChangedTabs) { aChangedTabs = aChangedTabs || []; + var hiddenTabs = aChangedTabs.filter(function(aTab) { return aTab.hidden; }); + var shownTabs = aChangedTabs.filter(function(aTab) { return !aTab.hidden; }); var tabs = this.getAllTabsArray(this.mTabBrowser); aChangedTabs.forEach(function(aTab) {