failed to restore subtree-collapsed state for restored tabs (by undo close tab command)
This commit is contained in:
parent
491ec519a7
commit
7b41779a0b
@ -2634,8 +2634,10 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
this.stopRendering();
|
this.stopRendering();
|
||||||
|
|
||||||
var backupAttributes = {};
|
var backupAttributes = {};
|
||||||
if (this.hasChildTabs(tab))
|
if (this.hasChildTabs(tab)) {
|
||||||
backupAttributes[this.kCHILDREN] = this.getTabValue(tab, this.kCHILDREN);
|
backupAttributes[this.kCHILDREN] = this.getTabValue(tab, this.kCHILDREN);
|
||||||
|
backupAttributes[this.kSUBTREE_COLLAPSED] = this.getTabValue(tab, this.kSUBTREE_COLLAPSED);
|
||||||
|
}
|
||||||
|
|
||||||
var subtreeCollapsed = this.isSubtreeCollapsed(tab);
|
var subtreeCollapsed = this.isSubtreeCollapsed(tab);
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user