From 2b322a46a600f2b0948b8a1b41ee394ffcf8df5e Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 16 Sep 2011 18:21:41 -0500 Subject: Replaced description text fields with text areas. Ticket #1783 --- install/ui/group.js | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) (limited to 'install/ui/group.js') diff --git a/install/ui/group.js b/install/ui/group.js index ad705eb21..b9664ea61 100644 --- a/install/ui/group.js +++ b/install/ui/group.js @@ -29,13 +29,27 @@ IPA.entity_factories.group = function () { return IPA.entity_builder(). entity('group'). search_facet({ - columns:['cn','gidnumber','description'] + columns: [ + 'cn', + 'gidnumber', + 'description' + ] + }). + details_facet({ + sections: [ + { + name: 'details', + fields: [ + 'cn', + { + factory: IPA.textarea_widget, + name: 'description' + }, + 'gidnumber' + ] + } + ] }). - details_facet({sections: - [{ - name:'details', - fields:['cn','description','gidnumber'] - }]}). association_facet({ name: 'member_user', columns:[ @@ -90,14 +104,18 @@ IPA.entity_factories.group = function () { adder_dialog({ fields: [ 'cn', - 'description', + { + factory: IPA.textarea_widget, + name: 'description' + }, { factory: IPA.group_nonposix_checkbox_widget, name: 'nonposix', label: IPA.messages.objects.group.posix, checked: true }, - 'gidnumber'] + 'gidnumber' + ] }). build(); }; -- cgit