added missing fields

This commit is contained in:
roshelrao
2021-07-08 15:03:32 +05:30
parent 1332448d72
commit 5416bdb840
8 changed files with 149 additions and 28 deletions

View File

@@ -105,6 +105,7 @@ class UserAdapter extends AdapterBase {
if (msg == null) {
const id = $(`#${this.getTableName()}_submit #id`).val();
params.csrf = $(`#${this.getTableName()}Form`).data('csrf');
if (id != null && id !== undefined && id !== '') {
params.id = id;
this.add(params, []);