From d7c1b5e56f7e3c372c3c90f2abbd8b02a71af5ea Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 8 Apr 2014 14:20:22 +0000 Subject: [PATCH] If user chooses to edit contact on double click, show infolog when viewing (instead of nothing) --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index a4552cbde7..47408074df 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -2284,7 +2284,7 @@ window.egw_LAB.wait(function() { // CRM list comes from content, request, or preference $crm_list = $content['crm_list'] ? $content['crm_list'] : ($_GET['crm_list'] ? $_GET['crm_list'] : $GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list']); - if(!$crm_list) $crm_list = 'infolog'; + if(!$crm_list || $crm_list == '~edit~') $crm_list = 'infolog'; if(is_array($content)) {