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:57:54 +01:00
parent 3130c08c75
commit cbb9010ab6

View File

@@ -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'}