From c6ef2ad120fb8da52d875ef51b7a89d20f1f73c4 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 26 Feb 2019 16:51:15 +0100 Subject: [PATCH] Fixed bug in items reports deleted Former-commit-id: 4781be9487437f8f2e608aaea88e5f9f321ac4d1 --- .../godmode/reporting/reporting_builder.list_items.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/reporting/reporting_builder.list_items.php b/pandora_console/godmode/reporting/reporting_builder.list_items.php index 07d4a083fa..2b867f9222 100755 --- a/pandora_console/godmode/reporting/reporting_builder.list_items.php +++ b/pandora_console/godmode/reporting/reporting_builder.list_items.php @@ -738,7 +738,12 @@ function message_check_delete_items() { } function added_ids_deleted_items_to_hidden_input() { - message_check_delete_items(); + var success = message_check_delete_items(); + + if(success === false){ + $("input.check_delete:checked").val() = false; + return false; + } var ids = ''; var first = true;