]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 1 Sep 2014 15:47:59 +0000 (15:47 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 1 Sep 2014 15:47:59 +0000 (15:47 +0000)
js/libs/gal/gal.filesystem.js

index 42f72df9ef5e365ac34b42474d711096d3ca6192..572aec2bde2a7be162e67b83b3d9bd87c70875c5 100644 (file)
 
                                var u = fileEntry.toURL();
                                if (PLATFORM == 'ios') {
-                                       u = fileEntry.fullPath;
+                                       u = 'cdvfile://localhost/persistent/' + fileEntry.fullPath;
                                }
 
                                fileTransfer.download(url, u, function(entry) {
                                        var e = entry.toURL();
                                        if (PLATFORM == 'ios') {
-                                               e = entry.fullPath;
+                                               e = 'cdvfile://localhost/persistent/' + entry.fullPath;
                                        }
                                        lookupTable[key] = e;
                                        entry.setMetadata(function(entry) {