From 9942edc1187ffd251c8ec9c579fc8584b86d075e Mon Sep 17 00:00:00 2001 From: Sergey Gorbaty Date: Thu, 21 Aug 2014 11:20:48 -0700 Subject: [PATCH] Fixing bug when email or phone number is empty --- .../phonegap/phonegap_list_contacts/command.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/modules/phonegap/phonegap_list_contacts/command.js b/modules/phonegap/phonegap_list_contacts/command.js index bfb89c49c..2a190aed3 100644 --- a/modules/phonegap/phonegap_list_contacts/command.js +++ b/modules/phonegap/phonegap_list_contacts/command.js @@ -14,13 +14,17 @@ beef.execute(function() { for (var i=0; i", <%= @command_id %>, 'result='+result ); @@ -40,4 +44,4 @@ beef.execute(function() { navigator.contacts.find(fields, onSuccess, onError, options); -}); \ No newline at end of file +});