From d221094f61481fa39a14bcca82ce350156cace7e Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Thu, 14 Mar 2024 16:49:39 +0100 Subject: [PATCH] #13034 fixed checkbox --- .../godmode/agentes/module_manager.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php index be1b620800..1b87278ce8 100644 --- a/pandora_console/godmode/agentes/module_manager.php +++ b/pandora_console/godmode/agentes/module_manager.php @@ -670,8 +670,6 @@ if ($modules !== false) { true, false ); - } else { - $table->head['checkbox'] = ''; } $table->head[0] = ''.__('Name').''.ui_get_sorting_arrows( @@ -812,8 +810,6 @@ if ($modules !== false) { '', true ); - } else { - $data['checkbox'] = ''; } $data[0] = ''; @@ -1269,23 +1265,11 @@ html_print_div( $('#modal').dialog("close"); }); - $('[id^=checkbox-id_delete]').change(function(){ - if($(this).parent().parent().hasClass('checkselected')){ - $(this).parent().parent().removeClass('checkselected'); - } - else{ - $(this).parent().parent().addClass('checkselected'); - } - }); - - $('[id^=checkbox-all_delete]').change(function(){ if ($("#checkbox-all_delete").prop("checked")) { - $('[id^=checkbox-id_delete]').parent().parent().addClass('checkselected'); $("[name^=id_delete").prop("checked", true); } else{ - $('[id^=checkbox-id_delete]').parent().parent().removeClass('checkselected'); $("[name^=id_delete").prop("checked", false); } });