Finish implementing addressbook CRM view tracker list

This commit is contained in:
Nathan Gray 2014-03-19 20:21:05 +00:00
parent 69f4d67d38
commit f517b5786f

View File

@ -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'],