Pman.Download.js wip_alan_T5992_gnumeric_download_progress
authorAlan Knowles <alan@roojs.com>
Wed, 14 Aug 2019 08:13:49 +0000 (16:13 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 Aug 2019 08:13:49 +0000 (16:13 +0800)
Pman.Download.js

index 08b83a6..9dba6b4 100644 (file)
@@ -143,7 +143,7 @@ Pman.Download = function(cfg)
                 filename = matches[1].replace(/['"]/g, '');
             }
             
-            var blob = new Blob([this.response], {type: req.responseType });
+            var blob = new Blob([req.response], {type: req.responseType });
             
             var a = document.createElement("a");
             a.style = "display: none";