Retracted items: Fix "Move to Trash" button not appearing

This commit is contained in:
Dan Stillman 2019-06-10 02:18:49 -04:00
parent cf8d383027
commit e807f98e02

View file

@ -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 () {