summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-30 13:45:35 -0400
committerAdam Young <ayoung@redhat.com>2011-06-30 22:26:19 -0400
commit9d8ddb5d46e13d3e6c53ae968465ecfd53948425 (patch)
tree286085fcf85bbd0bf10be904378ec492c3c70790 /install/ui/widget.js
parent2a527234656a08342259ebc30af38b68a592ba8a (diff)
downloadfreeipa-9d8ddb5d46e13d3e6c53ae968465ecfd53948425.tar.gz
freeipa-9d8ddb5d46e13d3e6c53ae968465ecfd53948425.tar.xz
freeipa-9d8ddb5d46e13d3e6c53ae968465ecfd53948425.zip
config widgets entity select default group checkbox for migration
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index c2b13778f..a56e55250 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -790,6 +790,13 @@ IPA.checkbox_widget = function (spec) {
that.update = function() {
var value = that.values && that.values.length ? that.values[0] : false;
+ if (value ==="FALSE"){
+ value = false;
+ }
+ if (value ==="TRUE"){
+ value = true;
+ }
+
$('input[name="'+that.name+'"]', that.container).get(0).checked = value;
};