diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 8f4c75f835..6674a9e736 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -215,6 +215,7 @@ break; } } + upload.onloadstart(); } var boundary = "AjaxUploadBoundary" + (new Date).getTime(); xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + boundary); @@ -423,7 +424,7 @@ _wrap.onloadstart = function (rpe, xhr) { //BI.Msg.toast("loadstart"); - self.fireEvent(BI.File.EVENT_UPLOADSTART); + self.fireEvent(BI.File.EVENT_UPLOADSTART, arguments); }; _wrap.onprogress = function (rpe, xhr) {