Skip to content

Commit

Permalink
Merge pull request andreimarcu#109 from culdev/master
Browse files Browse the repository at this point in the history
Fix file upload for Internet Explorer
  • Loading branch information
andreimarcu authored Oct 23, 2016
2 parents e9ae7a7 + 8f384dc commit 0e768cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Dropzone.options.dropzone = {
},
sending: function(file, xhr, formData) {
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) {
file.fileActions.removeChild(file.progressElement);
Expand Down

0 comments on commit 0e768cc

Please sign in to comment.