diff options
author | Adam Young <ayoung@redhat.com> | 2010-12-23 14:26:12 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-01-05 10:39:45 -0500 |
commit | 553e08afa6c583a36ed57f9c6e8aeee301b0bf34 (patch) | |
tree | c74fc612ad91588351c0776c5678c0b6000fa2f3 /install/static/widget.js | |
parent | 0fc1d260c08d54f7189f20814f2ebc7cbb031918 (diff) | |
download | freeipa.git-553e08afa6c583a36ed57f9c6e8aeee301b0bf34.tar.gz freeipa.git-553e08afa6c583a36ed57f9c6e8aeee301b0bf34.tar.xz freeipa.git-553e08afa6c583a36ed57f9c6e8aeee301b0bf34.zip |
posix checked check box for posix groups selected by default
Diffstat (limited to 'install/static/widget.js')
-rwxr-xr-x | install/static/widget.js | 7 |
1 files changed, 4 insertions, 3 deletions
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) { $('<input/>', { - 'type': 'checkbox', - 'name': that.name + type: 'checkbox', + name: that.name, + checked : is_checked }).appendTo(container); if (that.undo) { |