disable edit metadata menu item when in item view
This commit is contained in:
parent
8667beb123
commit
8585ab8068
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@ oml.ui.mainMenu = function() {
|
||||||
{
|
{
|
||||||
id: 'editmetadata',
|
id: 'editmetadata',
|
||||||
title: Ox._('Edit Metadata for {0}', [editItemName]),
|
title: Ox._('Edit Metadata for {0}', [editItemName]),
|
||||||
disabled: !canEdit,
|
disabled: !canEdit || ui.item,
|
||||||
keyboard: 'control e'
|
keyboard: 'control e'
|
||||||
},
|
},
|
||||||
{},
|
{},
|
||||||
|
|
Loading…
Reference in a new issue