diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml
index c4fb0df0e9..4c9f1036d6 100644
--- a/chrome/content/zotero/bindings/attachmentbox.xml
+++ b/chrome/content/zotero/bindings/attachmentbox.xml
@@ -191,15 +191,6 @@
// View and Show buttons
if (this.displayGoButtons) {
goButtons.hidden = false;
-
- var itemID = this.item.id;
- var noLocateOnMissing = !this.editable;
- viewButton.onclick = function (event) {
- ZoteroPane.viewAttachment(itemID, event, noLocateOnMissing)
- }
- showButton.onclick = function (event) {
- ZoteroPane.showAttachmentInFilesystem(itemID, noLocateOnMissing)
- }
}
else {
goButtons.hidden = true;
@@ -454,6 +445,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -514,8 +525,8 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-
+
+