Fix a few more redirects resulting in unwanted iframes.

This commit is contained in:
Nathan Gray 2014-09-22 15:25:23 +00:00
parent 76f970967f
commit 76a76beb69
2 changed files with 8 additions and 2 deletions

View File

@ -153,7 +153,10 @@ class uiconfig
if(!$errors && !$_POST['apply'])
{
egw_framework::message(lang('Configuration saved.'), 'success');
egw::redirect_link('/admin/index.php', null, 'admin');
egw::redirect_link('/index.php', array(
'menuaction' => 'admin.admin_ui.index',
'ajax' => 'true'
), 'admin');
}
}

View File

@ -2353,7 +2353,10 @@ class calendar_uiforms extends calendar_ui
}
if ($button != 'apply') // end dialog
{
egw::redirect_link('/admin/index.php', null, 'admin');
egw::redirect_link('/index.php', array(
'menuaction' => 'admin.admin_ui.index',
'ajax' => 'true'
), 'admin');
}
}
$content= $preserv = array();