You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2012/08/17 17:54:56 UTC

docs commit: Fixes CB-1144 issue with find example

Updated Branches:
  refs/heads/master 45924d15b -> 615b643f5


Fixes CB-1144 issue with find example

added options.multiple=true to make example
consistent with comment of finding all contacts with
"Bob" in name field.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/615b643f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/615b643f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/615b643f

Branch: refs/heads/master
Commit: 615b643f51426946f0773319e8bcf3ee728f3cff
Parents: 45924d1
Author: Becky Gibson <be...@apache.org>
Authored: Fri Aug 17 11:50:12 2012 -0400
Committer: Becky Gibson <be...@apache.org>
Committed: Fri Aug 17 11:50:12 2012 -0400

----------------------------------------------------------------------
 docs/en/edge/cordova/contacts/contacts.find.md |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/615b643f/docs/en/edge/cordova/contacts/contacts.find.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/contacts/contacts.find.md b/docs/en/edge/cordova/contacts/contacts.find.md
index 838a202..be7c423 100644
--- a/docs/en/edge/cordova/contacts/contacts.find.md
+++ b/docs/en/edge/cordova/contacts/contacts.find.md
@@ -62,7 +62,8 @@ Quick Example
 
     // find all contacts with 'Bob' in any name field
     var options = new ContactFindOptions();
-	options.filter="Bob"; 
+	options.filter="Bob";
+	options.multiple=true; 
 	var fields = ["displayName", "name"];
     navigator.contacts.find(fields, onSuccess, onError, options);