From ab550f227902a1d99d4a6b49eff22a292b5e404b Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 13 Mar 2017 12:22:44 +0100 Subject: [PATCH] Call right function after sudo mode This should call the `applyGroupSelect` and not the `applySubadminSelect`. Signed-off-by: Lukas Reschke --- settings/js/users/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 0e3067db7c..07ef63b0cc 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -414,7 +414,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; }