Browse Source

Merge pull request #284 in FUI/fineui from ~DAILER/fineui:master to master

* commit '97fdff34b222253e0b76763f883a1439dd89d6ce':
  file.js update
es6
guy 7 years ago
parent
commit
86268038a3
  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