From 9d8ddb5d46e13d3e6c53ae968465ecfd53948425 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 30 Jun 2011 13:45:35 -0400 Subject: config widgets entity select default group checkbox for migration --- install/ui/widget.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'install/ui/widget.js') 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; }; -- cgit