summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
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;
};