mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°5890 - Handle locked object properly in modals
This commit is contained in:
@@ -2076,6 +2076,11 @@ class MenuBlock extends DisplayBlock
|
||||
}
|
||||
}
|
||||
|
||||
// Lock removal button is not supported in modals yet
|
||||
if (utils::IsXmlHttpRequest()) {
|
||||
$bCanKill = false;
|
||||
}
|
||||
|
||||
if ($bCanKill) {
|
||||
$this->AddMenuSeparator($aRegularActions);
|
||||
$aRegularActions['concurrent_lock_unlock'] = array(
|
||||
|
||||
Reference in New Issue
Block a user