From d5e9ca11f3d4b72b68afd11df4d6274d7ac80a0d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 16 Nov 2011 17:55:18 -0500 Subject: [PATCH] Restore Locate button on missing files (since 10/15) --- chrome/content/zotero/zoteroPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 07571dd80..9a5bea846 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3338,7 +3338,7 @@ var ZoteroPane = new function() function viewAttachment(itemIDs, event, noLocateOnMissing, forceExternalViewer) { // If view isn't editable, don't show Locate button, since the updated // path couldn't be sent back up - if (!this.itemsView.editable) { + if (!this.collectionsView.editable) { noLocateOnMissing = true; }