タブのプレビューを描画する時に一時的にフォーカスが切り替わる際は、ツリーを自動的には開閉しないようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6574 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
36e8eeea2c
commit
7e23d99726
@ -2495,6 +2495,11 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
var b = this.mTabBrowser;
|
var b = this.mTabBrowser;
|
||||||
var tab = b.selectedTab
|
var tab = b.selectedTab
|
||||||
|
|
||||||
|
/* <tabbrowser>.previewTab() focuses to the tab internally,
|
||||||
|
so we should ignore this event if it is fired from previewTab(). */
|
||||||
|
if (b._previewMode)
|
||||||
|
return;
|
||||||
|
|
||||||
if (this.isCollapsed(tab)) {
|
if (this.isCollapsed(tab)) {
|
||||||
if (this.getTreePref('autoExpandSubtreeOnCollapsedChildFocused')) {
|
if (this.getTreePref('autoExpandSubtreeOnCollapsedChildFocused')) {
|
||||||
var parentTab = tab;
|
var parentTab = tab;
|
||||||
|
Loading…
Reference in New Issue
Block a user