From ceb9749937d7cf60d8a0cff5e1be3d230ef68194 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 14 Apr 2018 00:05:49 -0400 Subject: [PATCH] Avoid invalid-field warning in Item::fromJSON() after 6f1833f936 --- chrome/content/zotero/xpcom/data/item.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index bdcbdd6a7..1bf61628a 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -4196,6 +4196,9 @@ Zotero.Item.prototype.fromJSON = function (json) { case 'mtime': // Handled below case 'collections': + case 'parentKey': + case 'deleted': + case 'inPublications': break; case 'accessDate':