mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 19:39:26 +01:00
Fix CRM View sidebox content gets disappeared after directly reopening a contact
This commit is contained in:
parent
f56c73816e
commit
e9bfeb4db7
@ -1000,14 +1000,20 @@ abstract class Ajax extends Api\Framework
|
|||||||
// dont send header and footer
|
// dont send header and footer
|
||||||
self::$header_done = self::$footer_done = true;
|
self::$header_done = self::$footer_done = true;
|
||||||
|
|
||||||
|
// flag to indicate target of output e.g. _tab
|
||||||
|
if ($_GET['fw_target'])
|
||||||
|
{
|
||||||
|
Api\Cache::unsetSession(__CLASS__,'sidebox_md5'); // sideboxes need to be send again
|
||||||
|
$GLOBALS['egw']->framework->set_extra('fw','target',$_GET['fw_target']);
|
||||||
|
}
|
||||||
|
|
||||||
// need to call do_sidebox, as header() with $header_done does NOT!
|
// need to call do_sidebox, as header() with $header_done does NOT!
|
||||||
$GLOBALS['egw']->framework->do_sidebox();
|
$GLOBALS['egw']->framework->do_sidebox();
|
||||||
|
|
||||||
// send Api\Preferences, so we dont need to request them in a second ajax request
|
// send Api\Preferences, so we dont need to request them in a second ajax request
|
||||||
$GLOBALS['egw']->framework->response->call('egw.set_preferences',
|
$GLOBALS['egw']->framework->response->call('egw.set_preferences',
|
||||||
(array)$GLOBALS['egw_info']['user']['preferences'][$app], $app);
|
(array)$GLOBALS['egw_info']['user']['preferences'][$app], $app);
|
||||||
// flag to indicate target of output e.g. _tab
|
|
||||||
if ($_GET['fw_target']) $GLOBALS['egw']->framework->set_extra('fw','target',$_GET['fw_target']);
|
|
||||||
// call application menuaction
|
// call application menuaction
|
||||||
ob_start();
|
ob_start();
|
||||||
$obj->$method();
|
$obj->$method();
|
||||||
|
Loading…
Reference in New Issue
Block a user