Browse Source

file.js update

es6
DESKTOP-49I29QK\zsmj1 7 years ago
parent
commit
97fdff34b2
  1. 2
      src/base/single/input/file.js

2
src/base/single/input/file.js

@ -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) {

Loading…
Cancel
Save