From 23224f60935a3348c7aae3d490ada8391e152de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Mon, 7 May 2018 12:51:54 +0300 Subject: [PATCH] Fix 'idx is undefined' error in integration missing item handler --- 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 aa3129d30..9b9df2429 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -2458,7 +2458,7 @@ Zotero.Integration.Citation = class { }).apply(this, arguments); } - async handleMissingItem() { + async handleMissingItem(idx) { // Ask user what to do with this item if (this.citationItems.length == 1) { var msg = Zotero.getString("integration.missingItem.single");