hides table header while users load.

This commit is contained in:
raghunayyar 2014-07-01 17:05:44 +05:30
parent 07ba9442db
commit 0dc12a3737
1 changed files with 2 additions and 0 deletions

View File

@ -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 {