summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-04-05 19:06:58 +0200
committerkondou <kondou@ts.unde.re>2013-04-05 19:06:58 +0200
commit32f96e19e54bbbc10857bccd5e51389cf074305f (patch)
treefb20d7386a076a51bd5d008ba950e4411bb78875
parent8d63b7d9bf4f3e00fa09a8dbe22471335e72a9ff (diff)
downloadnextcloud-server-32f96e19e54bbbc10857bccd5e51389cf074305f.tar.gz
nextcloud-server-32f96e19e54bbbc10857bccd5e51389cf074305f.zip
Fix Typo
-rw-r--r--settings/js/users.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index 14d0a966d4f..b92feb52334 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -219,8 +219,8 @@ var UserList = {
},
function (response) {
if(response.status === 'success') {
- if(UserList.availableGroups.indexOf(response.data.gropname) === -1 && response.data.action === 'add') {
- UserList.availableGroups.push(response.data.gropname);
+ if(UserList.availableGroups.indexOf(response.data.groupname) === -1 && response.data.action === 'add') {
+ UserList.availableGroups.push(response.data.groupname);
}
} else {
OC.Notification.show(response.data.message);