disable edit metadata menu item when in item view

This commit is contained in:
Rolux 2016-01-08 10:34:28 +05:30
parent 8667beb123
commit 8585ab8068

View file

@ -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'
}, },
{}, {},