Tags box: Disable Remove All Tags when not editable
This commit is contained in:
parent
427e8daaf9
commit
bd451196b0
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
let removeAllItemTags = this._id('remove-all-item-tags');
|
||||
this._id('remove-all-item-tags').addEventListener('command', this.removeAll);
|
||||
this.querySelector('.body').addEventListener('contextmenu', (event) => {
|
||||
removeAllItemTags.disabled = !this.count;
|
||||
removeAllItemTags.disabled = !this.editable || !this.count;
|
||||
this._id('tags-context-menu').openPopupAtScreen(event.screenX, event.screenY, true);
|
||||
});
|
||||
// Register our observer with priority 101 (after Zotero.Tags) so we get updated tag colors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue