From 065dc679d8f40c9ee3d6c06169ad32aa789c63b4 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 30 Mar 2014 18:13:18 +0200 Subject: DIRTY PATCH fixe Download eines Plans --- js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/index.js b/js/index.js index 7041943..fd94eac 100644 --- a/js/index.js +++ b/js/index.js @@ -115,7 +115,7 @@ function download_pdf(link, id){ console.log('Pfad: ' + sPath); - if(fileEntry.file.size == 0){ + if(fileEntry.file.size != 0){ // TODO file.size gibt undefined: file ist eine Funktion!!! var fileTransfer = new FileTransfer(); fileTransfer.download( -- cgit v1.3.1