diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 9ba39a2c10..ea2954a30f 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -2303,13 +2303,10 @@ window.egw_LAB.wait(function() { switch($GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list']) { case 'infolog': + case 'tracker': default: egw_json_response::get()->apply('app.addressbook.view_set_list',Array('linked',$contact_id)); break; - case 'tracker': - // TODO - what's the filter? - //egw_json_response::get()->apply('app.addressbook.view_set_list',Array('linked',$contact_id)); - break; } // Clear contact_id, it's used as a flag to send the list @@ -2477,8 +2474,8 @@ 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'); + // need to load list's app.js now, as exec calls header before other app can include it + egw_framework::validate_file('/'.$GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list'].'/js/app.js'); $this->tmpl->exec('addressbook.addressbook_ui.view',$content,$sel_options,$readonlys,array( 'id' => $content['id'],