From 9193ab3e62dbdb5cdb037872089e4767576d1984 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 27 Jan 2010 09:47:08 +0000 Subject: [PATCH] - Fix Zotero crash attempting to index an unindexable link attachment twice - Log error on index failure, and include note about filenames with extended characters if applicable --- chrome/content/zotero/overlay.js | 13 +++---------- chrome/content/zotero/xpcom/attachments.js | 16 ++++++++++++++-- chrome/content/zotero/xpcom/fulltext.js | 7 ++++++- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index c7406587fe..01f91ee669 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -1230,18 +1230,11 @@ var ZoteroPane = new function() function reindexItem() { - var items = this.getSelectedItems(); - if (!items) { + var itemIDs = this.getSelectedItems(true); + if (!itemIDs) { return; } - - for (var i=0; i