mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
add host pool members page
This commit is contained in:
parent
7e5f3d7319
commit
2c27297ed3
22 changed files with 1770 additions and 1411 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue