fix bug in metaconsoles network component creation

This commit is contained in:
alejandro-campos 2019-06-19 15:12:17 +02:00
parent 6c4dcdac87
commit 5503abc8e1
1 changed files with 4 additions and 1 deletions

View File

@ -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);