Handle relations property in collection fromJSON()

This commit is contained in:
Dan Stillman 2018-02-20 03:30:14 -05:00
parent 3a3f46530d
commit 78e87a351c

View file

@ -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);
}