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