* Addressbook: Fix newly added distribution lists could not be added to with the context menu

This commit is contained in:
nathangray 2020-11-30 11:30:14 -07:00
parent bd8a78505b
commit 559943f772
2 changed files with 2 additions and 0 deletions

View File

@ -629,6 +629,7 @@ var AddressbookApp = /** @class */ (function (_super) {
if (addressbook_actions && (dist_lists = addressbook_actions.getActionById('to_list'))) {
var id = 'to_list_' + result;
var action = dist_lists.addAction('popup', id, values.name);
action.setDefaultExecute(action.parent.onExecute.fnct);
action.updateAction({ group: 1 });
}
}).sendRequest(true);

View File

@ -748,6 +748,7 @@ class AddressbookApp extends EgwApp
id,
values.name
);
action.setDefaultExecute(action.parent.onExecute.fnct);
action.updateAction({group: 1});
}
}