summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2014-07-01 17:05:44 +0530
committerraghunayyar <me@iraghu.com>2014-07-01 17:05:44 +0530
commit0dc12a3737127aad28be12f9417d2a63601a88ff (patch)
tree4afc84fa5f6377f20380301983058218469ab15d /settings
parent07ba9442db227cd46e66e10720c35a979d442431 (diff)
downloadnextcloud-server-0dc12a3737127aad28be12f9417d2a63601a88ff.tar.gz
nextcloud-server-0dc12a3737127aad28be12f9417d2a63601a88ff.zip
hides table header while users load.
Diffstat (limited to 'settings')
-rw-r--r--settings/js/users/users.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 1c0f3eef840..e7a9f249363 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -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 {