fix canDelete state in menu

This commit is contained in:
j 2015-02-27 11:45:24 +05:30
parent f87f0b965e
commit af9f83b08f
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ oml.ui.mainMenu = function() {
canCut = canCopy && listData.editable,
canPaste = listData.editable && clipboardItems,
canAdd = canCopy && clipboardItems && clipboardType == 'book',
canDelete = listData.user == username && selectionItems,
canDelete = listData.user == '' && selectionItems,
historyItems = oml.history.items(),
undoText = oml.history.undoText(),
redoText = oml.history.redoText();