mirror of
https://github.com/librenms/librenms.git
synced 2024-09-24 11:58:54 +00:00
Clear out rule entries now when modal form closes
This commit is contained in:
parent
7cd8cf7ecf
commit
51db1af74d
@ -115,6 +115,10 @@ if(is_admin() === false) {
|
||||
|
||||
$("[name='mute']").bootstrapSwitch('offColor','danger');
|
||||
|
||||
$('#create-alert').on('hide.bs.modal', function (event) {
|
||||
$('#response').data('tagmanager').empty();
|
||||
});
|
||||
|
||||
$('#create-alert').on('show.bs.modal', function (event) {
|
||||
var button = $(event.relatedTarget);
|
||||
var device_id = button.data('device_id');
|
||||
|
Loading…
Reference in New Issue
Block a user