Fixed clicking notes on device alerts page (#8629)

This commit is contained in:
Neil Lathwood
2018-04-27 17:58:07 +01:00
committed by Tony Murray
parent c88d28c10a
commit 80ef4d4324
2 changed files with 1 additions and 6 deletions

View File

@@ -253,12 +253,6 @@ var alerts_grid = $("#alerts_' . $unique_id . '").bootgrid({
$(this).find(".incident-toggle").fadeIn(200);
}).on("mouseleave", function() {
$(this).find(".incident-toggle").fadeOut(200);
}).on("click", "td(.incident-toggle-td)", function() {
var target = $(this).parent().find(".incident-toggle").data("target");
if( $(this).parent().find(".incident-toggle").hasClass(\'fa-plus\') ) {
$(this).parent().find(".incident-toggle").toggleClass(\'fa-plus fa-minus\');
$(target).collapse(\'toggle\');
}
});
});
alerts_grid.find(".command-ack-alert").on("click", function(e) {