You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/09/29 20:10:54 UTC

[2/3] cordova-plugin-contacts git commit: Update ContactProxy.js

Update ContactProxy.js

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

Branch: refs/heads/master
Commit: dc5537e0d6099015ac61f3bd2c6a34442fbc20aa
Parents: 16942ff
Author: Abhishek Hingnikar <ab...@hingnikar.com>
Authored: Sat Jun 27 06:04:29 2015 +0530
Committer: Abhishek Hingnikar <ab...@hingnikar.com>
Committed: Sat Jun 27 06:04:29 2015 +0530

----------------------------------------------------------------------
 src/windows/ContactProxy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/dc5537e0/src/windows/ContactProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/ContactProxy.js b/src/windows/ContactProxy.js
index 60e7166..bc410a5 100644
--- a/src/windows/ContactProxy.js
+++ b/src/windows/ContactProxy.js
@@ -109,7 +109,7 @@ function convertToContact(windowsContact) {
     // returned is a file, a blob url can be made 
     var contactPhoto = windowsContact.thumbnail;
     if (contactPhoto && contactPhoto.path) {
-        contact.photos = [new ContactField(null, URL.createObjectURL(contactPhoto) , false)];
+        contact.photos = [new ContactField('url', URL.createObjectURL(contactPhoto) , false)];
     }
 
     return contact;


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