|
|
@ -214,8 +214,10 @@ |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
if (isFunction(upload.onloadstart)) { |
|
|
|
upload.onloadstart(); |
|
|
|
upload.onloadstart(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
var boundary = "AjaxUploadBoundary" + (new Date).getTime(); |
|
|
|
var boundary = "AjaxUploadBoundary" + (new Date).getTime(); |
|
|
|
xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary); |
|
|
|
xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary); |
|
|
|
if (handler.file.getAsBinary) { |
|
|
|
if (handler.file.getAsBinary) { |
|
|
|