From 71f7ec5207b19c1556dafbeefefd00ecc4571be8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 14 Apr 2018 10:07:01 -0400 Subject: [PATCH] Avoid invalid-field warning for parentItem in fromJSON() after 6f1833f936 --- chrome/content/zotero/xpcom/data/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 1bf61628a..dfada89f8 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -4196,7 +4196,7 @@ Zotero.Item.prototype.fromJSON = function (json) { case 'mtime': // Handled below case 'collections': - case 'parentKey': + case 'parentItem': case 'deleted': case 'inPublications': break;