Addresses #513, Deleted Items folder
Hide restore button when no items are selected
This commit is contained in:
parent
e200fd154c
commit
e5c1f5a70b
1 changed files with 3 additions and 0 deletions
|
@ -833,6 +833,9 @@ var ZoteroPane = new function()
|
||||||
= !this.itemsView._itemGroup.isTrash()
|
= !this.itemsView._itemGroup.isTrash()
|
||||||
|| _nonDeletedItemsSelected(this.itemsView);
|
|| _nonDeletedItemsSelected(this.itemsView);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
document.getElementById('zotero-item-restore-button').hidden = true;
|
||||||
|
}
|
||||||
|
|
||||||
var tabs = document.getElementById('zotero-view-tabs');
|
var tabs = document.getElementById('zotero-view-tabs');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue