summaryrefslogtreecommitdiffstats
path: root/install/ui/hbac.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/hbac.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/hbac.js')
-rw-r--r--install/ui/hbac.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index 4b9fe1ed3..a0c353af3 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -54,10 +54,10 @@ IPA.entity_factories.hbacsvc = function () {
search_facet({
columns:['cn','description'],
add_fields:['cn','description']}).
- details_facet([{
- section : 'general',
+ details_facet({sections:[{
+ name: 'general',
label: IPA.messages.details.general,
- fields:[ 'cn', 'description']}]).
+ fields:[ 'cn', 'description']}]}).
build();
};
@@ -68,14 +68,14 @@ IPA.entity_factories.hbacsvcgroup = function () {
search_facet({
columns:['cn', 'description'],
add_fields:['cn', 'description']}).
- details_facet([
+ details_facet({sections:[
{
- section: 'general',
+ name: 'general',
label: IPA.messages.details.general,
fields:['cn','description']
},
{
- section: 'services',
+ name: 'services',
label: IPA.messages.objects.hbacsvcgroup.services,
fields:[{
factory: IPA.hbacsvcgroup_member_hbacsvc_table_widget,
@@ -84,7 +84,7 @@ IPA.entity_factories.hbacsvcgroup = function () {
other_entity: 'hbacsvc',
save_values: false
}]
- }]).
+ }]}).
build();
};