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. 4
      src/base/single/input/file.js

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

@ -214,7 +214,9 @@
break; break;
} }
}; };
upload.onloadstart(); if (isFunction(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);

Loading…
Cancel
Save