commit 78e87a351cfc9c845eace9b2dee9cdfaa261ebf7 parent 3a3f46530d9d8476664c66334a9c858b0dfdf0ef Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 20 Feb 2018 03:30:14 -0500 Handle relations property in collection fromJSON() Diffstat:
| M | chrome/content/zotero/xpcom/data/collection.js | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/collection.js b/chrome/content/zotero/xpcom/data/collection.js @@ -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); }