Browse Source

Fixed direct dl not working correctly

pull/29/head
Teknikode 7 years ago
parent
commit
dbb5fabf46
  1. 2
      Teknik/Areas/Upload/Scripts/Download.js

2
Teknik/Areas/Upload/Scripts/Download.js

@ -63,7 +63,7 @@ function downloadFile() { @@ -63,7 +63,7 @@ function downloadFile() {
if (fileType == null || fileType == '') {
fileType = "application/octet-stream";
}
var blob = new Blob([e.data.buffer], { type: fileType });
var blob = new Blob([this.response], { type: fileType });
// prompt save-as
saveAs(blob, fileName);

Loading…
Cancel
Save