Merge pull request #2778 from matiu/bug/download

Bug/download
This commit is contained in:
Gustavo Maximiliano Cortez 2015-05-28 15:02:03 -03:00
commit b1da5813b4
2 changed files with 5 additions and 1 deletions

View file

@ -27,6 +27,10 @@ angular
['debug', 'info', 'warn', 'error', 'log'].forEach(function(level) {
var orig = $delegate[level];
$delegate[level] = function() {
if (level=='error')
console.log(arguments);
var args = [].slice.call(arguments);
if (!Array.isArray(args)) args = [args];
args = args.map(function(v) {

View file

@ -40,7 +40,7 @@ angular.module('copayApp.services')
var a = document.createElement("a");
document.body.appendChild(a);
a.style = "display: none";
a.style.display = "none";
var blob = new NewBlob(ew, 'text/plain;charset=utf-8');
var url = window.URL.createObjectURL(blob);