From b0fc5b5ce39da07ed5839fc5b2c1abdc7a1ac259 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 28 May 2024 16:15:21 -0600 Subject: [PATCH] Get CRM view loading in kdots framework --- addressbook/inc/class.addressbook_ui.inc.php | 2 - addressbook/templates/kdots/view.xet | 63 ++++++++++++++++++++ 2 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 addressbook/templates/kdots/view.xet diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index de637b057c..0d31e5949c 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -3250,8 +3250,6 @@ class addressbook_ui extends addressbook_bo // need to load list's app.js now, as exec calls header before other app can include it // Framework::includeJS('/'.$crm_list.'/js/app.js'); - // Load CRM code - Framework::includeJS('.','CRM','addressbook'); $content['view_sidebox'] = addressbook_hooks::getViewDOMID($content['id'], $crm_list); $this->tmpl->exec('addressbook.addressbook_ui.view',$content,$sel_options,$readonlys,array( 'id' => $content['id'], diff --git a/addressbook/templates/kdots/view.xet b/addressbook/templates/kdots/view.xet new file mode 100644 index 0000000000..169c4a613a --- /dev/null +++ b/addressbook/templates/kdots/view.xet @@ -0,0 +1,63 @@ + + + + + \ No newline at end of file