Fix a few more redirects resulting in unwanted iframes.

This commit is contained in:
Nathan Gray 2014-09-22 16:23:02 +00:00
parent ddc26c361c
commit 06dd8b2adb
4 changed files with 16 additions and 4 deletions

View File

@ -153,7 +153,10 @@ class uiconfig
if(!$errors && !$_POST['apply']) if(!$errors && !$_POST['apply'])
{ {
egw_framework::message(lang('Configuration saved.'), 'success'); 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 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(); $content= $preserv = array();

View File

@ -89,7 +89,10 @@ class infolog_customfields
} }
// fall through // fall through
case 'cancel': case 'cancel':
egw::redirect_link('/admin/index.php', null, 'admin'); egw::redirect_link('/index.php', array(
'menuaction' => 'admin.admin_ui.index',
'ajax' => 'true'
), 'admin');
} }
} }
else else

View File

@ -2396,7 +2396,10 @@ class infolog_ui
if($button == 'save' || $button == 'cancel') if($button == 'save' || $button == 'cancel')
{ {
egw::redirect_link('/admin/index.php', null, 'admin'); egw::redirect_link('/index.php', array(
'menuaction' => 'admin.admin_ui.index',
'ajax' => 'true'
), 'admin');
} }
} }
else else