Restore Locate button on missing files (since 10/15)

This commit is contained in:
Dan Stillman 2011-11-16 17:55:18 -05:00
parent 8f742bc7ab
commit d5e9ca11f3

View file

@ -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;
}