mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-31 06:02:00 +01:00
fixes #1283 : force UsersCache reload when opening Group Manager
quick & dirty fix, must be improved
This commit is contained in:
1 parent
3130c08c75
commit
cbb9010ab6
1 file changed
+10
@@ -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'}
|
||||
|
||||
Reference in new issue
Block a user