diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-25 16:22:07 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-18 12:10:50 +0100 |
commit | 71c4edf827e52032fa31c0b49bdd8b55ef412b47 (patch) | |
tree | 26eb69341c0ae5b056d20b1ee376f0c6195e9964 /core/js/public | |
parent | 47f9574302ac30fc100ced10b978c49f1eea81c7 (diff) | |
download | nextcloud-server-71c4edf827e52032fa31c0b49bdd8b55ef412b47.tar.gz nextcloud-server-71c4edf827e52032fa31c0b49bdd8b55ef412b47.zip |
use proper method call for _.bind()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js/public')
-rw-r--r-- | core/js/public/appconfig.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |