mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
* Addressbook: Fix newly added distribution lists could not be added to with the context menu
This commit is contained in:
parent
bd8a78505b
commit
559943f772
@ -629,6 +629,7 @@ var AddressbookApp = /** @class */ (function (_super) {
|
|||||||
if (addressbook_actions && (dist_lists = addressbook_actions.getActionById('to_list'))) {
|
if (addressbook_actions && (dist_lists = addressbook_actions.getActionById('to_list'))) {
|
||||||
var id = 'to_list_' + result;
|
var id = 'to_list_' + result;
|
||||||
var action = dist_lists.addAction('popup', id, values.name);
|
var action = dist_lists.addAction('popup', id, values.name);
|
||||||
|
action.setDefaultExecute(action.parent.onExecute.fnct);
|
||||||
action.updateAction({ group: 1 });
|
action.updateAction({ group: 1 });
|
||||||
}
|
}
|
||||||
}).sendRequest(true);
|
}).sendRequest(true);
|
||||||
|
@ -748,6 +748,7 @@ class AddressbookApp extends EgwApp
|
|||||||
id,
|
id,
|
||||||
values.name
|
values.name
|
||||||
);
|
);
|
||||||
|
action.setDefaultExecute(action.parent.onExecute.fnct);
|
||||||
action.updateAction({group: 1});
|
action.updateAction({group: 1});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user