diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml index b952541611..2f250e8a91 100644 --- a/chrome/content/zotero/bindings/attachmentbox.xml +++ b/chrome/content/zotero/bindings/attachmentbox.xml @@ -187,13 +187,6 @@ // Metadata for URL's if (this.item.attachmentLinkMode == Zotero.Attachments.LINK_MODE_LINKED_URL || isImportedURL) { - // "View Page"/"View Snapshot" label - if (isImportedURL) { - var str = Zotero.getString('pane.item.attachments.view.snapshot'); - } - else { - var str = Zotero.getString('pane.item.attachments.view.link'); - } // URL if (this.displayURL) { @@ -229,7 +222,6 @@ } // Metadata for files else { - var str = Zotero.getString('pane.item.attachments.view.file'); urlField.hidden = true; accessed.hidden = true; } diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 4e6a2a3916..2b58f04687 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3073,7 +3073,7 @@ var ZoteroPane = new function() (!Zotero.MIME.hasInternalHandler(mimeType, ext) || Zotero.Prefs.get('launchNonNativeFiles'))); } - if (!forceExternalViewer) { + if (!externalViewer) { var url = 'zotero://attachment/' + itemID + '/'; this.loadURI(url, event, { attachmentID: itemID}); }