forked from extern/egroupware
Fallback to admin index after save/cancel from calendar ACl,timesheet edit status
This commit is contained in:
parent
2de7931700
commit
0be030f6cb
@ -2328,7 +2328,7 @@ class calendar_uiforms extends calendar_ui
|
|||||||
}
|
}
|
||||||
if ($button != 'apply') // end dialog
|
if ($button != 'apply') // end dialog
|
||||||
{
|
{
|
||||||
egw::redirect_link('/index.php',array('menuaction' => $this->view_menuaction));
|
egw::redirect_link('/admin/index.php', null, 'admin');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$content['rows'] = $preserv['rows'] = array();
|
$content['rows'] = $preserv['rows'] = array();
|
||||||
|
@ -1175,11 +1175,7 @@ class timesheet_ui extends timesheet_bo
|
|||||||
if ($button == 'apply') break;
|
if ($button == 'apply') break;
|
||||||
// fall-through
|
// fall-through
|
||||||
case 'cancel':
|
case 'cancel':
|
||||||
$GLOBALS['egw']->redirect_link('/index.php',array(
|
$GLOBALS['egw']->redirect_link('/admin/index.php', null, 'admin');
|
||||||
'menuaction' => 'timesheet.timesheet_ui.index',
|
|
||||||
'msg' => $msg,
|
|
||||||
));
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isset($content['statis']['delete']))
|
if (isset($content['statis']['delete']))
|
||||||
|
Loading…
Reference in New Issue
Block a user