mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
* Addressbook: with double-click preference set to edit, CRM-view did not open when selected in menu
This commit is contained in:
parent
004de5c81e
commit
47bf4d0824
@ -384,11 +384,6 @@ class addressbook_hooks
|
|||||||
),
|
),
|
||||||
'merge' => true,
|
'merge' => true,
|
||||||
);
|
);
|
||||||
if($GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list'] == '~edit~')
|
|
||||||
{
|
|
||||||
$links['view'] = $links['edit'];
|
|
||||||
$links['view_popup'] = $links['edit_popup'];
|
|
||||||
}
|
|
||||||
return $links;
|
return $links;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -368,7 +368,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
'default' => $GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list'] == '~edit~',
|
'default' => $GLOBALS['egw_info']['user']['preferences']['addressbook']['crm_list'] == '~edit~',
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
'url' => 'menuaction=addressbook.addressbook_ui.edit&contact_id=$id',
|
'url' => 'menuaction=addressbook.addressbook_ui.edit&contact_id=$id',
|
||||||
'popup' => egw_link::get_registry('addressbook', 'add_popup'),
|
'popup' => egw_link::get_registry('addressbook', 'edit_popup'),
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
),
|
),
|
||||||
'add' => array(
|
'add' => array(
|
||||||
|
@ -500,6 +500,8 @@ app.classes.addressbook = AppJS.extend(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Apply advanced search filters to index nextmatch
|
* Apply advanced search filters to index nextmatch
|
||||||
|
*
|
||||||
|
* @param {object} filters
|
||||||
*/
|
*/
|
||||||
adv_search: function(filters)
|
adv_search: function(filters)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user