Browse Source

Fixed direct dl not working correctly

tags/2.0.3
Teknikode 4 years ago
parent
commit
dbb5fabf46
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Areas/Upload/Scripts/Download.js

+ 1
- 1
Teknik/Areas/Upload/Scripts/Download.js View File

@@ -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