From fe4b75758d1f9cd3b79670a53fa9823d027a338e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Thu, 25 Jan 2018 12:39:50 +0200 Subject: [PATCH] Fixes index is not defined error. Closes #1422 --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index bf9b11aa76..8cecb64085 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -897,7 +897,7 @@ Zotero.Integration.Fields.prototype._processFields = Zotero.Promise.coroutine(fu // Mark for removal and continue continue; } else if (action == Zotero.Integration.UPDATE) { - this._session.updateIndices[index] = true; + this._session.updateIndices[i] = true; } yield this._session.addCitation(i, noteIndex, citation);