forked from extern/egroupware
Fix a few more redirects resulting in unwanted iframes.
This commit is contained in:
parent
ddc26c361c
commit
06dd8b2adb
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
@ -89,7 +89,10 @@ class infolog_customfields
|
||||
}
|
||||
// fall through
|
||||
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
|
||||
|
@ -2396,7 +2396,10 @@ class infolog_ui
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user