Fixed bug when mute was selected for an alert rule

This commit is contained in:
laf
2015-01-25 21:05:36 +00:00
parent f114d557f2
commit 9b94548039

View File

@@ -160,9 +160,7 @@ $('#create-alert').on('show.bs.modal', function (event) {
var delay = extra['delay'];
}
$('#delay').val(delay);
if(extra['mute']) {
$('#mute').click();
}
$("[name='mute']").bootstrapSwitch('state',extra['mute']);
$('#name').val(output['name']);
}
});