mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Bug 689078 - Error in saving tab value: TypeError: this.parent is null; r=dietrich
This commit is contained in:
parent
574fe51799
commit
0c4144dea1
@ -228,7 +228,7 @@ TabItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||
groupID: (this.parent ? this.parent.id : 0),
|
||||
title: this.tab.label
|
||||
};
|
||||
if (this.parent.getActiveTab() == this)
|
||||
if (this.parent && this.parent.getActiveTab() == this)
|
||||
data.active = true;
|
||||
|
||||
return data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user