From 5503abc8e1a7a6cf4088bded08c4b0242b223452 Mon Sep 17 00:00:00 2001 From: alejandro-campos <alejandro.campos@artica.es> Date: Wed, 19 Jun 2019 15:12:17 +0200 Subject: [PATCH] fix bug in metaconsoles network component creation --- .../godmode/modules/manage_network_components.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/modules/manage_network_components.php b/pandora_console/godmode/modules/manage_network_components.php index 82cd02d771..2bdf3c8bd1 100644 --- a/pandora_console/godmode/modules/manage_network_components.php +++ b/pandora_console/godmode/modules/manage_network_components.php @@ -36,6 +36,9 @@ require_once $config['homedir'].'/include/functions_component_groups.php'; if (defined('METACONSOLE')) { components_meta_print_header(); $sec = 'advanced'; + + $id_modulo = (int) get_parameter('id_component_type'); + $new_component = (bool) get_parameter('new_component'); } else { /* Hello there! :) @@ -761,7 +764,7 @@ enterprise_hook('close_meta_frame'); } }); - $('[id^=checkbox-all_delete]').change(function(){ + $('[id^=checkbox-all_delete]').change(function(){z if ($("#checkbox-all_delete").prop("checked")) { $('[id^=checkbox-delete_multiple]').parent().parent().addClass('checkselected'); $(".check_delete").prop("checked", true);