mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Take crm_list preference into account for dblclick action on contact
This commit is contained in:
parent
f55fae6a3b
commit
4ebce118e7
@ -205,6 +205,8 @@ var AddressbookApp = /** @class */ (function (_super) {
|
||||
if (_action.id != 'view') {
|
||||
extras.crm_list = _action.id.replace('view-', '');
|
||||
}
|
||||
if (!extras.crm_list)
|
||||
extras.crm_list = egw.preference('crm_list', 'addressbook');
|
||||
this.egw.openTab(id, 'addressbook', 'view', extras, {
|
||||
displayName: (_action.id.match(/\-organisation/) && data.org_name != "") ? data.org_name
|
||||
: data.n_fn + " (" + egw.lang(extras.crm_list) + ")",
|
||||
|
@ -227,7 +227,7 @@ class AddressbookApp extends EgwApp
|
||||
{
|
||||
extras.crm_list = _action.id.replace('view-','');
|
||||
}
|
||||
|
||||
if (!extras.crm_list) extras.crm_list = egw.preference('crm_list', 'addressbook');
|
||||
this.egw.openTab(id, 'addressbook', 'view', extras, {
|
||||
displayName: (_action.id.match(/\-organisation/) && data.org_name != "") ? data.org_name
|
||||
: data.n_fn+" ("+egw.lang(extras.crm_list)+")",
|
||||
|
Loading…
Reference in New Issue
Block a user