Fixed deleting alert templates

This commit is contained in:
laf
2015-07-24 10:06:12 +01:00
parent e3f9943450
commit 0c5aedc1c4

View File

@@ -40,9 +40,8 @@ if(is_admin() === false) {
</div>
<script>
$('#confirm-delete-alert-template').on('show.bs.modal', function(e) {
event.preventDefault();
template_id = $(e.relatedTarget).data('template_id');
$('#confirm-delete-alert-template').on('show.bs.modal', function(event) {
template_id = $(event.relatedTarget).data('template_id');
$("#template_id").val(template_id);
});