Merge pull request #3819 from nextcloud/dont-add-user-to-subadmin
Call right function after sudo mode
This commit is contained in:
commit
938f432113
|
@ -425,7 +425,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue