summaryrefslogtreecommitdiffstats
path: root/install/ui/group.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-16 18:21:41 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-26 16:38:21 +0000
commit2b322a46a600f2b0948b8a1b41ee394ffcf8df5e (patch)
tree357a13575a146f48a59ffe9909f42922d152fab3 /install/ui/group.js
parent5cd121d6dd620d8979328c443b9809c77c71c21b (diff)
downloadfreeipa-2b322a46a600f2b0948b8a1b41ee394ffcf8df5e.tar.gz
freeipa-2b322a46a600f2b0948b8a1b41ee394ffcf8df5e.tar.xz
freeipa-2b322a46a600f2b0948b8a1b41ee394ffcf8df5e.zip
Replaced description text fields with text areas.
Ticket #1783
Diffstat (limited to 'install/ui/group.js')
-rw-r--r--install/ui/group.js34
1 files changed, 26 insertions, 8 deletions
diff --git a/install/ui/group.js b/install/ui/group.js
index ad705eb2..b9664ea6 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();
};