its an inbox
This commit is contained in:
parent
b1215fbc1b
commit
aac3e66f7b
8 changed files with 58 additions and 54 deletions
|
|
@ -956,7 +956,7 @@ oml.ui.mainMenu = function() {
|
|||
isLibrary = Ox.endsWith(ui._list, ':'),
|
||||
isList = !isLibraries && !isLibrary,
|
||||
isOwnList = ui._list[0] == ':',
|
||||
isPublic = ui._list == ':Public';
|
||||
isInbox = ui._list == ':Inbox';
|
||||
|
||||
if (oml.readOnly) {
|
||||
return {
|
||||
|
|
@ -1020,13 +1020,13 @@ oml.ui.mainMenu = function() {
|
|||
id: 'editlist',
|
||||
title: Ox._('Edit List...'),
|
||||
keyboard: 'return',
|
||||
disabled: !isList || !isOwnList || isPublic
|
||||
disabled: !isList || !isOwnList || isInbox
|
||||
},
|
||||
{
|
||||
id: 'deletelist',
|
||||
title: Ox._('Delete List...'),
|
||||
keyboard: 'delete',
|
||||
disabled: !isList || !isOwnList || isPublic
|
||||
disabled: !isList || !isOwnList || isInbox
|
||||
}
|
||||
])
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue