forked from extern/egroupware
Take crm_list preference into account for dblclick action on contact
This commit is contained in:
parent
082d7fddad
commit
03adbcb97a
@ -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