You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/09/11 19:49:34 UTC

git commit: CB-7375: Fix the filesystem name in resolveLocalFileSystemUri

Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master d0af82105 -> 9a456100e


CB-7375: Fix the filesystem name in resolveLocalFileSystemUri


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/9a456100
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/9a456100
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/9a456100

Branch: refs/heads/master
Commit: 9a456100ee202452bd5ae043aed4a5a6389a49d3
Parents: d0af821
Author: Ian Clelland <ic...@chromium.org>
Authored: Thu Sep 11 13:49:17 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Thu Sep 11 13:49:17 2014 -0400

----------------------------------------------------------------------
 www/resolveLocalFileSystemURI.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/9a456100/www/resolveLocalFileSystemURI.js
----------------------------------------------------------------------
diff --git a/www/resolveLocalFileSystemURI.js b/www/resolveLocalFileSystemURI.js
index 3a41210..510fa09 100644
--- a/www/resolveLocalFileSystemURI.js
+++ b/www/resolveLocalFileSystemURI.js
@@ -51,7 +51,7 @@ module.exports.resolveLocalFileSystemURL = function(uri, successCallback, errorC
         if (entry) {
             if (successCallback) {
                 // create appropriate Entry object
-                var fsName = (entry.filesystem && entry.filesystem.name) || (entry.filesystem == window.PERSISTENT ? 'persistent' : 'temporary');
+                var fsName = entry.filesystemName || (entry.filesystem && entry.filesystem.name) || (entry.filesystem == window.PERSISTENT ? 'persistent' : 'temporary');
                 fileSystems.getFs(fsName, function(fs) {
                     if (!fs) {
                         fs = new FileSystem(fsName, {name:"", fullPath:"/"});