From c9b1260d9d85779a7cef718d46e09a0c3a02e364 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 4 Jul 2017 18:51:51 +0200 Subject: [PATCH] Return jqXHR object in WCF.Upload.Parallel._sendRequest() --- wcfsetup/install/files/js/WCF.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 2c12bf77ca..2da297143e 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -6228,10 +6228,12 @@ if (COMPILER_TARGET_DEFAULT) { * * @param integer internalFileID * @param FormData formData + * @return jqXHR */ _sendRequest: function (internalFileID, formData) { var self = this; - $.ajax({ + + return $.ajax({ type: 'POST', url: this._options.url, enctype: 'multipart/form-data', -- 2.20.1