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/04/23 20:57:03 UTC

[07/37] git commit: fixed setMetadata() to use the formatted fullPath

fixed setMetadata() to use the formatted fullPath

(cherry picked from commit ac436a0230b8456ed1e751d52f4b16597b637a79)
Signed-off-by: Ian Clelland <ic...@chromium.org>


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/70a1b72c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/70a1b72c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/70a1b72c

Branch: refs/heads/master
Commit: 70a1b72c07fed270ea0d793c9785e2e6034e7529
Parents: 85af5ff
Author: Dominik Pesch <d....@11com7.de>
Authored: Sun Mar 2 23:58:06 2014 +0100
Committer: Ian Clelland <ic...@chromium.org>
Committed: Mon Mar 3 12:16:56 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/70a1b72c/www/Entry.js
----------------------------------------------------------------------
diff --git a/www/Entry.js b/www/Entry.js
index edd06d9..c3e4312 100644
--- a/www/Entry.js
+++ b/www/Entry.js
@@ -86,7 +86,7 @@ Entry.prototype.getMetadata = function(successCallback, errorCallback) {
  */
 Entry.prototype.setMetadata = function(successCallback, errorCallback, metadataObject) {
     argscheck.checkArgs('FFO', 'Entry.setMetadata', arguments);
-    exec(successCallback, errorCallback, "File", "setMetadata", [this.fullPath, metadataObject]);
+    exec(successCallback, errorCallback, "File", "setMetadata", [this.filesystem.__format__(this.fullPath), metadataObject]);
 };
 
 /**