Merge pull request #3820 from nextcloud/stable11-dont-add-user-to-subadmin

[stable11] Call right function after sudo mode
This commit is contained in:
Roeland Jago Douma 2017-03-13 15:00:08 +01:00 committed by GitHub
commit 1278a96730
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ var UserList = {
applyGroupSelect: function (element, user, checked) { applyGroupSelect: function (element, user, checked) {
if (OC.PasswordConfirmation.requiresPasswordConfirmation()) { 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; return;
} }