Browse Source

file.js update

master
DESKTOP-49I29QK\zsmj1 7 years ago
parent
commit
97fdff34b2
  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