mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-03 12:02:51 +02:00
fixes #1283 : force UsersCache reload when opening Group Manager
quick & dirty fix, must be improved
This commit is contained in:
@@ -35,6 +35,16 @@ $(document).on('click', function (e) {
|
|||||||
$("#UserList").fadeOut();
|
$("#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}
|
{/footer_script}
|
||||||
|
|
||||||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||||
|
|||||||
Reference in New Issue
Block a user