diff --git a/static/js/services/filedownload.js b/static/js/services/filedownload.js index 8841d755..2c442886 100644 --- a/static/js/services/filedownload.js +++ b/static/js/services/filedownload.js @@ -90,7 +90,7 @@ define(["jquery", "underscore"], function($, _) { safeApply(this.scope, function($scope) { var url = file.toURL(); console.log("Generated URL", url); - $scope.$emit("writeComplete", url); + $scope.$emit("writeComplete", url, file); }); }, this)); file.e.bind("error writerror failed", _.bind(function(event, e) {