www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 5859cfc61eef2481a7a1b295279867a5fd0cbd05
parent 3e969a9c8f414fee202dc3608b9af7a5c595aaf8
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 14 Jun 2012 22:56:26 -0400

Fix "citation is undefined" error

Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -2659,6 +2659,7 @@ Zotero.Integration.Session.prototype.updateCitations = function(callback) { index = parseInt(index); var citation = this.citationsByIndex[index]; + if(!citation) continue; if(citation.properties.delete) { deleteCitations[index] = true; continue;