You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2013/05/30 16:54:53 UTC

spec commit: [CB-3551] Correct boolean opts for camera tests

Updated Branches:
  refs/heads/master d9bf705c7 -> 038efb5c0


[CB-3551] Correct boolean opts for camera tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/038efb5c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/038efb5c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/038efb5c

Branch: refs/heads/master
Commit: 038efb5c03451ec35a8c00495f27b84cd7f7121c
Parents: d9bf705
Author: James Jong <wj...@gmail.com>
Authored: Thu May 30 10:53:15 2013 -0400
Committer: James Jong <wj...@gmail.com>
Committed: Thu May 30 10:53:15 2013 -0400

----------------------------------------------------------------------
 camera/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/038efb5c/camera/index.html
----------------------------------------------------------------------
diff --git a/camera/index.html b/camera/index.html
index b9031b5..7b80e2a 100644
--- a/camera/index.html
+++ b/camera/index.html
@@ -289,7 +289,7 @@
             var value = el.value;
             if (value === '') continue;
             if (el.isBool) {
-                ret[el.keyName] = !!value;
+                ret[el.keyName] = !!+value;
             } else {
                 ret[el.keyName] = +value;
             }