Delete flags from the service object when they are expired
This commit is contained in:
parent
f4fff387b1
commit
2ede365e18
@ -1651,14 +1651,14 @@ var TreeStyleTabBase = inherit(TreeStyleTabConstants, {
|
|||||||
dump('Tree Style Tab: new child tab is canceled.\n'+
|
dump('Tree Style Tab: new child tab is canceled.\n'+
|
||||||
new Error().stack.replace(/^/gm, ' ')+'\n');
|
new Error().stack.replace(/^/gm, ' ')+'\n');
|
||||||
|
|
||||||
ownerBrowser.treeStyleTab.readiedToAttachNewTab = false;
|
delete ownerBrowser.treeStyleTab.readiedToAttachNewTab;
|
||||||
ownerBrowser.treeStyleTab.readiedToAttachNewTabGroup = false;
|
delete ownerBrowser.treeStyleTab.readiedToAttachNewTabGroup;
|
||||||
ownerBrowser.treeStyleTab.readiedToAttachMultiple = false;
|
delete ownerBrowser.treeStyleTab.readiedToAttachMultiple;
|
||||||
ownerBrowser.treeStyleTab.multipleCount = -1;
|
delete ownerBrowser.treeStyleTab.multipleCount;
|
||||||
ownerBrowser.treeStyleTab.parentTab = null;
|
delete ownerBrowser.treeStyleTab.parentTab;
|
||||||
ownerBrowser.treeStyleTab.insertBefore = null;
|
delete ownerBrowser.treeStyleTab.insertBefore;
|
||||||
ownerBrowser.treeStyleTab.treeStructure = null;
|
delete ownerBrowser.treeStyleTab.treeStructure;
|
||||||
ownerBrowser.treeStyleTab.shouldExpandAllTree = false;
|
delete ownerBrowser.treeStyleTab.shouldExpandAllTree;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
@ -3202,7 +3202,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
|||||||
else if (
|
else if (
|
||||||
parent &&
|
parent &&
|
||||||
utils.getTreePref('insertNewChildAt') == this.kINSERT_FISRT &&
|
utils.getTreePref('insertNewChildAt') == this.kINSERT_FISRT &&
|
||||||
(this.multipleCount <= 0 || this._addedCountInThisLoop <= 0)
|
(typeof this.multipleCount !== 'number' || this._addedCountInThisLoop <= 0)
|
||||||
) {
|
) {
|
||||||
/* 複数の子タブを一気に開く場合、最初に開いたタブだけを
|
/* 複数の子タブを一気に開く場合、最初に開いたタブだけを
|
||||||
子タブの最初の位置に挿入し、続くタブは「最初の開いたタブ」と
|
子タブの最初の位置に挿入し、続くタブは「最初の開いたタブ」と
|
||||||
|
Loading…
x
Reference in New Issue
Block a user