summaryrefslogtreecommitdiffstats
path: root/install/ui/rule.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-07-21 09:07:23 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-07-21 15:34:30 +0000
commitaf339cd5468e234ddef9b476d33dc2a0b8215028 (patch)
tree0f94fd12cabec5157dbb41b5f2da25a491df90f4 /install/ui/rule.js
parentf210a08268003c1b2ac6aed7bda13be4d96f3abf (diff)
downloadfreeipa-af339cd5468e234ddef9b476d33dc2a0b8215028.tar.gz
freeipa-af339cd5468e234ddef9b476d33dc2a0b8215028.tar.xz
freeipa-af339cd5468e234ddef9b476d33dc2a0b8215028.zip
Fixed problem loading data in HBAC/sudo details page.
In a recent change the details page was changed to create and locate field containers with 'details-field' CSS class. The HBAC and sudo custom details pages have been modified to use the same CSS class. Ticket #1508
Diffstat (limited to 'install/ui/rule.js')
-rw-r--r--install/ui/rule.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/install/ui/rule.js b/install/ui/rule.js
index 106b870bb..aec86574f 100644
--- a/install/ui/rule.js
+++ b/install/ui/rule.js
@@ -45,7 +45,8 @@ IPA.rule_details_section = function(spec) {
var span = $('<span/>', {
name: that.field_name,
- title: param_info.doc
+ title: param_info.doc,
+ 'class': 'details-field'
}).appendTo(container);
if (that.options.length) {
@@ -77,7 +78,8 @@ IPA.rule_details_section = function(spec) {
var table_span = $('<span/>', {
name: table.field_name,
- title: param_info ? param_info.doc : table.field_name
+ title: param_info ? param_info.doc : table.field_name,
+ 'class': 'details-field'
}).appendTo(span);
field = that.get_field(table.field_name);