mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Clear out rule entries now when modal form closes
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user