hiddenTabs, shownTabs

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7244 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-16 11:06:21 +00:00
parent b1568bd66c
commit 801e04b795

View File

@ -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) {