Cosmetics on menus, details and the top bar...

SVN:trunk[3757]
This commit is contained in:
Denis Flaven
2015-09-12 18:46:39 +00:00
parent 7f64982fc0
commit 02aa8339f8
11 changed files with 95 additions and 55 deletions

View File

@@ -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;