summaryrefslogtreecommitdiffstats
path: root/install/ui/sudo.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-03-31 15:32:29 -0400
committerAdam Young <ayoung@redhat.com>2011-03-31 17:29:33 -0400
commit6948c0813dff35afadd63bc0647271f00bfc566f (patch)
tree19a212045037900336bcf2cd963491f87a85a9d9 /install/ui/sudo.js
parentef57ee0d936a910407a940273f1dbd9ff084fffa (diff)
downloadfreeipa-6948c0813dff35afadd63bc0647271f00bfc566f.tar.gz
freeipa-6948c0813dff35afadd63bc0647271f00bfc566f.tar.xz
freeipa-6948c0813dff35afadd63bc0647271f00bfc566f.zip
code review fixes
this version includes using spec for detail_facets
Diffstat (limited to 'install/ui/sudo.js')
-rw-r--r--install/ui/sudo.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/install/ui/sudo.js b/install/ui/sudo.js
index 742895a44..0f2e8491e 100644
--- a/install/ui/sudo.js
+++ b/install/ui/sudo.js
@@ -44,14 +44,14 @@ IPA.entity_factories.sudocmd = function () {
search_facet({
columns:['sudocmd','description'],
add_fields:['sudocmd','description']}).
- details_facet([
+ details_facet({sections:[
{
- section : 'general',
+ name: 'general',
label: IPA.messages.details.general,
fields:['sudocmd','description']
},
{
- section: 'groups',
+ name: 'groups',
label: IPA.messages.objects.sudocmd.groups,
factory: IPA.details_section,
fields:[{
@@ -84,7 +84,7 @@ IPA.entity_factories.sudocmd = function () {
}
]
}]
- }]).
+ }]}).
build();
};
@@ -96,15 +96,15 @@ IPA.entity_factories.sudocmdgroup = function () {
columns:['cn','description'],
add_fields:['cn','description']
}).
- details_facet([
+ details_facet({sections:[
{
- section: 'general',
+ name: 'general',
label: IPA.messages.dialogs.general,
fields:['cn','description']
},
{
- section: 'commands',
+ name: 'commands',
factory: IPA.details_section,
fields: [{
factory: IPA.association_table_widget,
@@ -136,7 +136,7 @@ IPA.entity_factories.sudocmdgroup = function () {
}
]
}]
- }]).
+ }]}).
build();
};