This commit is contained in:
Daniel Maya 2022-10-07 10:56:12 +02:00
parent 29c06a17f7
commit 83ac81ab23
1 changed files with 6 additions and 3 deletions

View File

@ -31,8 +31,6 @@ global $config;
check_login();
enterprise_hook('open_meta_frame');
require_once $config['homedir'].'/include/functions_profile.php';
require_once $config['homedir'].'/include/functions_users.php';
require_once $config['homedir'].'/include/functions_groups.php';
@ -134,6 +132,8 @@ if (is_ajax()) {
}
}
enterprise_hook('open_meta_frame');
$sortField = get_parameter('sort_field');
$sort = get_parameter('sort', 'none');
$tab = get_parameter('tab', 'user');
@ -924,7 +924,7 @@ enterprise_hook('close_meta_frame');
var request = $.ajax({
url: "<?php echo ui_get_full_url('ajax.php', false, false, false); ?>",
type: 'GET',
dataType: 'JSON',
dataType: 'json',
data: {
page: 'godmode/users/user_list',
get_user_profile_group: 1,
@ -943,6 +943,9 @@ enterprise_hook('close_meta_frame');
}
count ++;
});
},
error: function (e, textStatus) {
console.error(textStatus);
}
});
$(`#hidden-show_groups_${id_user}`).val('1');