Fix 'idx is undefined' error in integration missing item handler

This commit is contained in:
Adomas Venčkauskas 2018-05-07 12:51:54 +03:00
parent 9165a0247f
commit 23224f6093

View file

@ -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");