From 553e08afa6c583a36ed57f9c6e8aeee301b0bf34 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 23 Dec 2010 14:26:12 -0500 Subject: posix checked check box for posix groups selected by default --- install/static/widget.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'install/static/widget.js') diff --git a/install/static/widget.js b/install/static/widget.js index dcc17341..ed2ef8d5 100755 --- a/install/static/widget.js +++ b/install/static/widget.js @@ -205,14 +205,15 @@ function ipa_text_widget(spec) { function ipa_checkbox_widget(spec) { spec = spec || {}; - + var is_checked = spec.checked || ''; var that = ipa_widget(spec); that.create = function(container) { $('', { - 'type': 'checkbox', - 'name': that.name + type: 'checkbox', + name: that.name, + checked : is_checked }).appendTo(container); if (that.undo) { -- cgit