mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 07:35:13 -04:00
Merge pull request #9330 from owncloud/jumpingheader
Hides table header while users load in User Management
This commit is contained in:
commit
ff416eaa57
1 changed files with 2 additions and 0 deletions
|
|
@ -282,6 +282,7 @@ var UserList = {
|
|||
if (UserList.updating) {
|
||||
return;
|
||||
}
|
||||
$userList.css('display', 'none');
|
||||
$userList.siblings('.loading').css('visibility', 'visible');
|
||||
UserList.updating = true;
|
||||
if(gid === undefined) {
|
||||
|
|
@ -310,6 +311,7 @@ var UserList = {
|
|||
});
|
||||
if (result.data.length > 0) {
|
||||
UserList.doSort();
|
||||
$userList.css('display', 'block');
|
||||
$userList.siblings('.loading').css('visibility', 'hidden');
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue