子タブにフォーカスしたまま親タブのサブツリーを折り畳んだ時、親タブにフォーカスが移りつつサブツリーが折り畳まれるはずが、サブツリーが再び自動的に展開されてしまう問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4182 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-04-25 06:20:09 +00:00
parent cc9546ad5c
commit a253ff883e

View File

@ -3241,6 +3241,7 @@ TreeStyleTabBrowser.prototype = {
}, },
collapseExpandTreesIntelligentlyWithDelayFor : function(aTab) collapseExpandTreesIntelligentlyWithDelayFor : function(aTab)
{ {
if (this.doingCollapseExpand) return;
if (this.cETIWDFTimer) if (this.cETIWDFTimer)
window.clearTimeout(this.cETIWDFTimer); window.clearTimeout(this.cETIWDFTimer);
this.cETIWDFTimer = window.setTimeout(function(aSelf) { this.cETIWDFTimer = window.setTimeout(function(aSelf) {