(cp cbb9010) fixes #1283 : force UsersCache reload when opening Group Manager

quick & dirty fix, must be improved
This commit is contained in:
plegall
2021-01-18 16:59:37 +01:00
parent eff61b8c60
commit 4ee3348ca0
@@ -35,6 +35,16 @@ $(document).on('click', function (e) {
$("#UserList").fadeOut();
}
});
{* temporary fix for #1283 (begin) : force user local storage cache on page load. *}
var usersCache = new UsersCache({
serverKey: '{$CACHE_KEYS.users}',
serverId: '{$CACHE_KEYS._hash}',
rootUrl: '{$ROOT_URL}'
});
usersCache.selectize(jQuery('select.UserSearch'));
{* temporary fix for #1283 (end) *}
{/footer_script}
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}