summaryrefslogtreecommitdiffstats
path: root/install/ui/group.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/group.js')
-rw-r--r--install/ui/group.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/install/ui/group.js b/install/ui/group.js
index 91e1af7f..959a96c4 100644
--- a/install/ui/group.js
+++ b/install/ui/group.js
@@ -46,7 +46,7 @@ IPA.group.entity = function(spec) {
fields: [
'cn',
{
- factory: IPA.textarea_widget,
+ type: 'textarea',
name: 'description'
},
'gidnumber'
@@ -110,11 +110,11 @@ IPA.group.entity = function(spec) {
fields: [
'cn',
{
- factory: IPA.textarea_widget,
+ type: 'textarea',
name: 'description'
},
{
- factory: IPA.group_nonposix_checkbox_widget,
+ type: 'nonposix_checkbox',
name: 'nonposix',
label: IPA.messages.objects.group.posix,
checked: true
@@ -142,6 +142,9 @@ IPA.group_nonposix_checkbox_widget = function (spec) {
return that;
};
+IPA.widget_factories['nonposix_checkbox'] = IPA.group_nonposix_checkbox_widget;
+IPA.field_factories['nonposix_checkbox'] = IPA.checkbox_fields;
+
IPA.group_adder_dialog = function(spec) {
spec = spec || {};