サブツリーを折り畳めない設定のとき、favicon付近をクリックしてもタブのフォーカスが切り替わらないことがあったのを修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6261 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
b67dbc4725
commit
f8f4402e9a
@ -454,7 +454,10 @@ var TreeStyleTabUtils = {
|
|||||||
isEventFiredOnTwisty : function TSTUtils_isEventFiredOnTwisty(aEvent)
|
isEventFiredOnTwisty : function TSTUtils_isEventFiredOnTwisty(aEvent)
|
||||||
{
|
{
|
||||||
var tab = this.getTabFromEvent(aEvent);
|
var tab = this.getTabFromEvent(aEvent);
|
||||||
if (!tab || !this.hasChildTabs(tab)) return false;
|
if (!tab ||
|
||||||
|
!this.hasChildTabs(tab) ||
|
||||||
|
!this.canCollapseSubtree(tab))
|
||||||
|
return false;
|
||||||
|
|
||||||
var expression = 'ancestor-or-self::*[@class="'+this.kTWISTY+'"]';
|
var expression = 'ancestor-or-self::*[@class="'+this.kTWISTY+'"]';
|
||||||
if (this.shouldExpandTwistyArea && !this._expandTwistyAreaBlockers.length)
|
if (this.shouldExpandTwistyArea && !this._expandTwistyAreaBlockers.length)
|
||||||
|
Loading…
Reference in New Issue
Block a user