From e319c2d557183af57b444f627fca757647a134fc Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 13 Apr 2014 11:34:22 +0200 Subject: kürze Fehlermeldung in download_pdf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'js') diff --git a/js/index.js b/js/index.js index 28c736c..19e63aa 100644 --- a/js/index.js +++ b/js/index.js @@ -128,11 +128,7 @@ function download_pdf(link, id){ function(theFile){ console.log('Download fertig: ' + theFile.toURL()); addplanattr(theFile, id); - }, - function(error){ - console.log('Fehler: ' + error.source + ' - '+ error.target + ' - ' + error.code); - fail(); - }); + }, fail); }, fail); }); }, fail); -- cgit v1.3.1