From: Matthias Schmidt Date: Tue, 4 Jul 2017 16:51:51 +0000 (+0200) Subject: Return jqXHR object in WCF.Upload.Parallel._sendRequest() X-Git-Tag: 3.1.0_Alpha_1~300 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c9b1260d9d85779a7cef718d46e09a0c3a02e364;p=GitHub%2FWoltLab%2FWCF.git Return jqXHR object in WCF.Upload.Parallel._sendRequest() --- 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',