diff options
author | tomneedham <tom@owncloud.com> | 2014-08-04 13:55:28 +0000 |
---|---|---|
committer | tomneedham <tom@owncloud.com> | 2014-08-04 13:55:33 +0000 |
commit | 7c39c02ee59ef20d1165429cac13b884bf85744e (patch) | |
tree | e0ae3349b67931f27cbf89efa835b39b1072405b /settings/js/users | |
parent | 65903a012a05d012b463d944594afa0104386426 (diff) | |
download | nextcloud-server-7c39c02ee59ef20d1165429cac13b884bf85744e.tar.gz nextcloud-server-7c39c02ee59ef20d1165429cac13b884bf85744e.zip |
Set group usercount to 0, not '', fixes #9782
Diffstat (limited to 'settings/js/users')
-rw-r--r-- | settings/js/users/groups.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index 58f77705121..fe06edff34d 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -30,8 +30,10 @@ GroupList = { var $groupLiElement = $(groupLiElement); if (usercount === undefined || usercount === 0 || usercount < 0) { usercount = ''; + $groupLiElement.data('usercount', 0); + } else { + $groupLiElement.data('usercount', usercount); } - $groupLiElement.data('usercount', usercount); $groupLiElement.find('.usercount').text(usercount); }, |