From 7c928b8100c573a0563fdd0b1eb966ac5e57ded3 Mon Sep 17 00:00:00 2001 From: Tatiana Llorente Date: Tue, 14 Jan 2020 08:37:04 +0100 Subject: [PATCH] Ent 4795 check seleccionar todos queda marcado --- pandora_console/include/javascript/pandora_events.js | 2 +- pandora_console/operation/events/events.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/javascript/pandora_events.js b/pandora_console/include/javascript/pandora_events.js index 79668406e1..8f23339692 100644 --- a/pandora_console/include/javascript/pandora_events.js +++ b/pandora_console/include/javascript/pandora_events.js @@ -214,8 +214,8 @@ function show_massive_response_dialog( $("#button-submit_event_response").show(); }, close: function() { + $("#checkbox-all_validate_box").prop("checked", false); $(".chk_val").prop("checked", false); - $("#event_response_command_window").dialog("close"); }, width: response["modal_width"], height: response["modal_height"] diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 3b065f9c12..3c758fde12 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -1670,6 +1670,10 @@ function process_datatables_callback(table, settings) { } + // Uncheck checkbox to select all. + if ($('#checkbox-all_validate_box').length) { + $('#checkbox-all_validate_box').uncheck(); + } } function process_datatables_item(item) {