aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-03-13 12:22:44 +0100
committerLukas Reschke <lukas@statuscode.ch>2017-03-13 12:22:44 +0100
commitec7be8bd4339d5a94152dc5c2443e94b4589e252 (patch)
treebe5cf27858fd899bd12c6a13aeef590dd45e64f1 /settings
parentf7cef9f7024a0f94a36746daee2fe4ef6335bac6 (diff)
downloadnextcloud-server-ec7be8bd4339d5a94152dc5c2443e94b4589e252.tar.gz
nextcloud-server-ec7be8bd4339d5a94152dc5c2443e94b4589e252.zip
Call right function after sudo mode
This should call the `applyGroupSelect` and not the `applySubadminSelect`. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings')
-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;
}