* 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 078ab2cb1a
commit 85c7442c3f
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});
}
}