Call right function after sudo mode
This should call the `applyGroupSelect` and not the `applySubadminSelect`. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
68422fb926
commit
ab550f2279
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue