mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Finish implementing addressbook CRM view tracker list
This commit is contained in:
parent
69f4d67d38
commit
f517b5786f
@ -2303,13 +2303,10 @@ window.egw_LAB.wait(function() {
|
|||||||
switch($GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list'])
|
switch($GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list'])
|
||||||
{
|
{
|
||||||
case 'infolog':
|
case 'infolog':
|
||||||
|
case 'tracker':
|
||||||
default:
|
default:
|
||||||
egw_json_response::get()->apply('app.addressbook.view_set_list',Array('linked',$contact_id));
|
egw_json_response::get()->apply('app.addressbook.view_set_list',Array('linked',$contact_id));
|
||||||
break;
|
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
|
// 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
|
// always show sidebox, as it contains contact-data
|
||||||
unset($GLOBALS['egw_info']['user']['preferences']['common']['auto_hide_sidebox']);
|
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
|
// need to load list's app.js now, as exec calls header before other app can include it
|
||||||
egw_framework::validate_file('/infolog/js/app.js');
|
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(
|
$this->tmpl->exec('addressbook.addressbook_ui.view',$content,$sel_options,$readonlys,array(
|
||||||
'id' => $content['id'],
|
'id' => $content['id'],
|
||||||
|
Loading…
Reference in New Issue
Block a user