From e807f98e025ddd15685158f48e61782a131b637c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 10 Jun 2019 02:18:49 -0400 Subject: [PATCH] Retracted items: Fix "Move to Trash" button not appearing --- chrome/content/zotero/bindings/itembox.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index ac5c4b3fba..56a3a06df4 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -2392,7 +2392,7 @@ = Zotero.getString('retraction.banner'); var deleteButton = this._id('retraction-header-delete-button'); - if (!this.item.deleted && this.item.editable) { + if (!this.item.deleted && this.item.isEditable()) { deleteButton.hidden = false; deleteButton.textContent = Zotero.getString('pane.items.trash.title'); deleteButton.onclick = function () {