(result)
| 2842 | |
| 2843 | var self = this; |
| 2844 | var win = function(result) { |
| 2845 | if (typeof result.lengthComputable != "undefined") { |
| 2846 | if (self.onprogress) { |
| 2847 | self.onprogress(newProgressEvent(result)); |
| 2848 | } |
| 2849 | } else { |
| 2850 | successCallback && successCallback(result); |
| 2851 | } |
| 2852 | }; |
| 2853 | exec(win, fail, 'FileTransfer', 'upload', [filePath, server, fileKey, fileName, mimeType, params, trustAllHosts, chunkedMode, headers, this._id, httpMethod]); |
| 2854 | }; |
| 2855 |
nothing calls this directly
no test coverage detected