add host pool members page

This commit is contained in:
gabryon99 2020-07-20 11:49:40 +02:00
parent 7e5f3d7319
commit 2c27297ed3
22 changed files with 1770 additions and 1411 deletions

View file

@ -48,7 +48,15 @@
}
invokeModalInit() {
const self = this;
this.options.onModalInit(this.fillFormModal());
$(this.element).parents('.modal').on('show.bs.modal', function() {
self.options.onModalShow();
});
this.delegateResetButton();
}
@ -183,9 +191,6 @@
$(input).val(defaultValues[key])
.removeClass('is-invalid').removeClass('is-valid');
});
if (!self.dontDisableSubmit)
aysResetForm(self.form_sel);
});
}
}
@ -241,6 +246,8 @@
*/
onModalInit: function(loadedData) {},
onModalShow: function() {},
/**
* The function beforeSubmit() is invoked after the user
* submit the form. The function must return the data to