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