From b5ade8635a2be3e12519dd29da3acbd35be4e31f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 Jun 2010 06:54:07 +0000 Subject: [PATCH] do NOT redirect, but set top.location, as this works in framed template too --- phpgwapi/inc/class.egw.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw.inc.php b/phpgwapi/inc/class.egw.inc.php index 9048019d05..fc3287c01c 100644 --- a/phpgwapi/inc/class.egw.inc.php +++ b/phpgwapi/inc/class.egw.inc.php @@ -334,7 +334,9 @@ class egw extends egw_minimal if (egw_session::get_sessionid()) $redirect .= 'cd=10&'; } if ($relpath) $redirect .= 'phpgw_forward='.urlencode($relpath.(!empty($query) ? '?'.$query : '')); - Header('Location: '.$GLOBALS['egw_info']['server']['webserver_url'].$redirect); + //Header('Location: '.$GLOBALS['egw_info']['server']['webserver_url'].$redirect); + // do NOT redirect, but set top.location, as this works in framed template too + echo "\n\n\n"; exit; } }