Repository: cordova-plugin-media-capture
Updated Branches:
  refs/heads/master cd7d40d5d -> 7e28e9cb1


CB-10488 Fix for MediaFile.getFormatData


Project: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/ab8b6330
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/ab8b6330
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/ab8b6330

Branch: refs/heads/master
Commit: ab8b63308c1df274b7c98f816ee7f41fcec98313
Parents: cd7d40d
Author: TanaseButcaru <cont...@butcaru.com>
Authored: Mon Feb 1 00:42:07 2016 +0200
Committer: Vladimir Kotikov <kotikov.vladi...@gmail.com>
Committed: Wed Oct 26 14:52:16 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/ab8b6330/www/MediaFile.js
----------------------------------------------------------------------
diff --git a/www/MediaFile.js b/www/MediaFile.js
index 1bc600f..49b73be 100644
--- a/www/MediaFile.js
+++ b/www/MediaFile.js
@@ -48,7 +48,7 @@ MediaFile.prototype.getFormatData = function(successCallback, 
errorCallback) {
     if (typeof this.fullPath === "undefined" || this.fullPath === null) {
         errorCallback(new CaptureError(CaptureError.CAPTURE_INVALID_ARGUMENT));
     } else {
-        exec(successCallback, errorCallback, "Capture", "getFormatData", 
[this.localURL, this.type]);
+        exec(successCallback, errorCallback, "Capture", "getFormatData", 
[this.fullPath, this.type]);
     }
 };
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to