You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/06/04 19:41:47 UTC
spec commit: [CB-3551] Correct boolean opts for camera tests
Updated Branches:
refs/heads/2.8.x a3374a584 -> 4fdfaad8f
[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/4fdfaad8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/4fdfaad8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/4fdfaad8
Branch: refs/heads/2.8.x
Commit: 4fdfaad8fed1ea52bea5401ee1e1d2099d94f446
Parents: a3374a5
Author: James Jong <wj...@gmail.com>
Authored: Thu May 30 10:53:15 2013 -0400
Committer: Fil Maj <ma...@gmail.com>
Committed: Tue Jun 4 10:41:28 2013 -0700
----------------------------------------------------------------------
camera/index.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/4fdfaad8/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;
}