cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [5/8] cordova-plugin-media-capture git commit: CB-10488 Fix for MediaFile.getFormatData
Date Thu, 08 Dec 2016 00:57:17 GMT
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/1.4.x
Commit: ab8b63308c1df274b7c98f816ee7f41fcec98313
Parents: cd7d40d
Author: TanaseButcaru <contact@butcaru.com>
Authored: Mon Feb 1 00:42:07 2016 +0200
Committer: Vladimir Kotikov <kotikov.vladimir@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-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message