mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 09:38:48 +02:00
Cosmetics on menus, details and the top bar...
SVN:trunk[3757]
This commit is contained in:
@@ -1402,13 +1402,16 @@ class MenuBlock extends DisplayBlock
|
||||
else
|
||||
{
|
||||
$id = $oObj->GetKey();
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'GET')
|
||||
if (utils::ReadParam('operation') == 'details')
|
||||
{
|
||||
$sRefreshAction = "window.location.reload();";
|
||||
}
|
||||
else
|
||||
{
|
||||
$sRefreshAction = "window.location.href='".ApplicationContext::MakeObjectUrl(get_class($oObj), $id)."';";
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'GET')
|
||||
{
|
||||
$sRefreshAction = "window.location.reload();";
|
||||
}
|
||||
else
|
||||
{
|
||||
$sRefreshAction = "window.location.href='".ApplicationContext::MakeObjectUrl(get_class($oObj), $id)."';";
|
||||
}
|
||||
}
|
||||
|
||||
$bLocked = false;
|
||||
|
||||
Reference in New Issue
Block a user