We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to download images using FileSaver.SaveAs it is downloaded but cannot see image .
var self = this; var url = this.getUrl(apiUrl, itemPath); var deferred = $q.defer(); self.inprocess = true; $http.get(url).success(function(data,status,headers) { var response = { content_type:headers('Content-Type'), data:data, }; var data_cnt = new Blob([data], { type:response.content_type }); FileSaver.saveAs(data_cnt, toFilename,false); deferred.resolve(); }).error(function(data, code) { self.deferredHandler(data, deferred, code, $translate.instant('error_downloading')); })['finally'](function() { self.inprocess = false; }); return deferred.promise;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I try to download images using FileSaver.SaveAs it is downloaded but cannot see image .
The text was updated successfully, but these errors were encountered: