Browse Source

Merge pull request #109 from culdev/master

Fix file upload for Internet Explorer
pull/112/head v1.2.5
Andrei Marcu 8 years ago
committed by GitHub
parent
commit
0e768cc6f4
  1. 2
      static/js/upload.js

2
static/js/upload.js

@ -43,7 +43,7 @@ Dropzone.options.dropzone = {
}, },
sending: function(file, xhr, formData) { sending: function(file, xhr, formData) {
formData.append("randomize", document.getElementById("randomize").checked); formData.append("randomize", document.getElementById("randomize").checked);
formData.append("expires", document.getElementById("expires").selectedOptions[0].value);
formData.append("expires", document.getElementById("expires").value);
}, },
success: function(file, resp) { success: function(file, resp) {
file.fileActions.removeChild(file.progressElement); file.fileActions.removeChild(file.progressElement);

Loading…
Cancel
Save