mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
use proper method call for _.bind()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
47f9574302
commit
71c4edf827
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ OCP.AppConfig = {
|
|||
*/
|
||||
_call: function(method, endpoint, options) {
|
||||
if ((method === 'post' || method === 'delete') && OC.PasswordConfirmation.requiresPasswordConfirmation()) {
|
||||
OC.PasswordConfirmation.requirePasswordConfirmation(_.bind(this._call, this, arguments));
|
||||
OC.PasswordConfirmation.requirePasswordConfirmation(_.bind(this._call, this, method, endpoint, options));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue