summaryrefslogtreecommitdiffstats
path: root/install/ui/rule.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-03 17:15:05 -0500
committerAdam Young <ayoung@redhat.com>2011-08-04 11:46:41 -0400
commit966fbd6485f3e2a1bc7fa4c3f96fcb435daa553d (patch)
tree6abce3a311ff75c6a73202045f98c5c717a5944e /install/ui/rule.js
parent8495af1a50faca496fe2ce425b9b3a7f21ba1ea6 (diff)
downloadfreeipa-966fbd6485f3e2a1bc7fa4c3f96fcb435daa553d.tar.gz
freeipa-966fbd6485f3e2a1bc7fa4c3f96fcb435daa553d.tar.xz
freeipa-966fbd6485f3e2a1bc7fa4c3f96fcb435daa553d.zip
Linked entries in HBAC/sudo details page.
The association tables in HBAC/sudo details page have been modified to link the entries to the appropriate details page. Ticket #1535
Diffstat (limited to 'install/ui/rule.js')
-rw-r--r--install/ui/rule.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/install/ui/rule.js b/install/ui/rule.js
index 3398f245d..44f037f16 100644
--- a/install/ui/rule.js
+++ b/install/ui/rule.js
@@ -28,7 +28,6 @@ IPA.rule_details_section = function(spec) {
var that = IPA.details_section(spec);
- that.text = spec.text;
that.field_name = spec.field_name;
that.options = spec.options || [];
that.tables = spec.tables || [];
@@ -38,11 +37,11 @@ IPA.rule_details_section = function(spec) {
that.container = container;
- if (that.text) container.append(that.text);
-
var field = that.get_field(that.field_name);
var param_info = IPA.get_entity_param(that.entity.name, that.field_name);
+ container.append(param_info.doc+':');
+
var span = $('<span/>', {
name: that.field_name,
title: param_info.doc,