From 71c4edf827e52032fa31c0b49bdd8b55ef412b47 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 25 Oct 2016 16:22:07 +0200 Subject: use proper method call for _.bind() Signed-off-by: Morris Jobke --- core/js/public/appconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js') diff --git a/core/js/public/appconfig.js b/core/js/public/appconfig.js index 5021f78e2d6..d84ddaab404 100644 --- a/core/js/public/appconfig.js +++ b/core/js/public/appconfig.js @@ -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; } -- cgit v1.2.3