Merge pull request #10150 from owncloud/fix-9782

Set group usercount to 0, not '', fixes #9782
This commit is contained in:
blizzz 2014-08-04 17:28:34 +02:00
commit 5a833b3acd
1 changed files with 3 additions and 1 deletions

View File

@ -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);
},