don't save children information if it is not needed
This commit is contained in:
parent
4a6774e0b7
commit
8bec6fc3b5
@ -2149,6 +2149,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
this.stopRendering();
|
this.stopRendering();
|
||||||
|
|
||||||
var backupAttributes = {};
|
var backupAttributes = {};
|
||||||
|
if (this.hasChildTabs(tab))
|
||||||
backupAttributes[this.kCHILDREN] = this.getTabValue(tab, this.kCHILDREN);
|
backupAttributes[this.kCHILDREN] = this.getTabValue(tab, this.kCHILDREN);
|
||||||
|
|
||||||
var subtreeCollapsed = this.isSubtreeCollapsed(tab);
|
var subtreeCollapsed = this.isSubtreeCollapsed(tab);
|
||||||
|
Loading…
Reference in New Issue
Block a user