From 416c5d3b7560683501ee6f1452490b91477697d2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 10 Mar 2014 12:32:19 +0000 Subject: [PATCH] always show sidebox in CRM view, as it contains the contact-data --- addressbook/inc/class.addressbook_ui.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index a264838775..cf6ada523a 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -2269,6 +2269,12 @@ window.egw_LAB.wait(function() { ), )); + // always show sidebox, as it contains contact-data + unset($GLOBALS['egw_info']['user']['preferences']['common']['auto_hide_sidebox']); + + // need to load infolog's app.js now, as it exec calls header before infolog can include it + egw_framework::validate_file('/infolog/js/app.js'); + $this->tmpl->exec('addressbook.addressbook_ui.view',$content,$sel_options,$readonlys,array('id' => $content['id'])); $GLOBALS['egw']->hooks->process(array(