From 3b4945aa374780e9ab45102bcc5fd404615ab88f Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 21 Sep 2009 07:18:25 +0000 Subject: [PATCH] Missing item indices should be indexed from 1 --- 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 9dc2e4621..dcfe61ede 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -446,7 +446,7 @@ Zotero.Integration.Document.prototype._updateSession = function(newField, editFi if(e.citationLength == 1) { var msg = Zotero.getString("integration.missingItem.single"); } else { - var msg = Zotero.getString("integration.missingItem.multiple", e.citationIndex.toString()); + var msg = Zotero.getString("integration.missingItem.multiple", (e.citationIndex+1).toString()); } msg += '\n\n'+Zotero.getString('integration.missingItem.description'); field.select();