summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-03-13 14:59:48 +0100
committerGitHub <noreply@github.com>2017-03-13 14:59:48 +0100
commit938f4321137248771ed6a1163e878dda753d3fa5 (patch)
tree12aecce45501085510f8fe1216e6ef95ddcefba2 /settings/js
parent4395cf4fa77b07da9a31b85997f781dee03da21b (diff)
parentec7be8bd4339d5a94152dc5c2443e94b4589e252 (diff)
downloadnextcloud-server-938f4321137248771ed6a1163e878dda753d3fa5.tar.gz
nextcloud-server-938f4321137248771ed6a1163e878dda753d3fa5.zip
Merge pull request #3819 from nextcloud/dont-add-user-to-subadmin
Call right function after sudo mode
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 46bfea4b35c..16f043b4576 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -425,7 +425,7 @@ var UserList = {
applyGroupSelect: function (element, user, checked) {
if (OC.PasswordConfirmation.requiresPasswordConfirmation()) {
- OC.PasswordConfirmation.requirePasswordConfirmation(_.bind(this.applySubadminSelect, this, element, user, checked));
+ OC.PasswordConfirmation.requirePasswordConfirmation(_.bind(this.applyGroupSelect, this, element, user, checked));
return;
}