Handle relations property in collection fromJSON()
This commit is contained in:
parent
3a3f46530d
commit
78e87a351c
1 changed files with 1 additions and 2 deletions
|
@ -698,8 +698,7 @@ Zotero.Collection.prototype.fromJSON = function (json) {
|
|||
this.name = json.name;
|
||||
this.parentKey = json.parentCollection ? json.parentCollection : false;
|
||||
|
||||
// TODO
|
||||
//this.setRelations(json.relations);
|
||||
this.setRelations(json.relations);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue