Return jqXHR object in WCF.Upload.Parallel._sendRequest()
authorMatthias Schmidt <gravatronics@live.com>
Tue, 4 Jul 2017 16:51:51 +0000 (18:51 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 4 Jul 2017 16:51:51 +0000 (18:51 +0200)
wcfsetup/install/files/js/WCF.js

index 2c12bf77cae390361d7489707f37f37f8d53f882..2da297143e41f0eb337672fc82753b3bef9aad4d 100755 (executable)
@@ -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',