fix canDelete state in menu
This commit is contained in:
parent
f87f0b965e
commit
af9f83b08f
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ oml.ui.mainMenu = function() {
|
||||||
canCut = canCopy && listData.editable,
|
canCut = canCopy && listData.editable,
|
||||||
canPaste = listData.editable && clipboardItems,
|
canPaste = listData.editable && clipboardItems,
|
||||||
canAdd = canCopy && clipboardItems && clipboardType == 'book',
|
canAdd = canCopy && clipboardItems && clipboardType == 'book',
|
||||||
canDelete = listData.user == username && selectionItems,
|
canDelete = listData.user == '' && selectionItems,
|
||||||
historyItems = oml.history.items(),
|
historyItems = oml.history.items(),
|
||||||
undoText = oml.history.undoText(),
|
undoText = oml.history.undoText(),
|
||||||
redoText = oml.history.redoText();
|
redoText = oml.history.redoText();
|
||||||
|
|
Loading…
Reference in a new issue