mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
improved table filtering and fixed #4507
This commit is contained in:
parent
811b3f8e3c
commit
93bafa569d
13 changed files with 464 additions and 545 deletions
|
|
@ -145,6 +145,10 @@
|
|||
$(self.dialog).find('.confirm-closing').fadeOut(100, function () {
|
||||
$(self.dialog).find('button.close').fadeIn(100);
|
||||
});
|
||||
|
||||
// clean the form when the modal is closed
|
||||
// to prevent the fields flickering
|
||||
self.cleanForm();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -159,7 +163,7 @@
|
|||
// reset form values when the modal closes
|
||||
this.delegateModalClosing();
|
||||
this.data = data || this.fillFormModal();
|
||||
this.options.onModalInit(this.data);
|
||||
this.options.onModalInit(this.data, this);
|
||||
|
||||
$(this.element).parents('.modal').on('show.bs.modal', function () {
|
||||
self.options.onModalShow();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue