summaryrefslogtreecommitdiffstats
path: root/install/static/hbac.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-12-02 22:12:59 -0600
committerAdam Young <ayoung@redhat.com>2010-12-06 15:29:02 -0500
commit69e77212ea428f79742b9ff0452ef19d74cc76d4 (patch)
tree7e983cc373e099284743ff274e42cf0ac6ea8c19 /install/static/hbac.js
parent10f3c0825bfdffa6035e78066001eb3bdc759143 (diff)
downloadfreeipa.git-69e77212ea428f79742b9ff0452ef19d74cc76d4.tar.gz
freeipa.git-69e77212ea428f79742b9ff0452ef19d74cc76d4.tar.xz
freeipa.git-69e77212ea428f79742b9ff0452ef19d74cc76d4.zip
HBAC Service Groups adjustments
The association facet for HBAC Service Groups has been removed and replaced with an association table in the details page. The ipa_association_table_widget has been modified to support multiple columns in the table itself and in the adder dialog. The ipa_association_adder_dialog and ipa_association_facet have been refactored. The ipa_sudorule_association_widget and ipa_rule_association_widget has been removed because their functionalities have been merged into ipa_association_table_widget.
Diffstat (limited to 'install/static/hbac.js')
-rwxr-xr-xinstall/static/hbac.js11
1 files changed, 4 insertions, 7 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js
index a85a89a5..f0f2f96d 100755
--- a/install/static/hbac.js
+++ b/install/static/hbac.js
@@ -553,8 +553,7 @@ function ipa_hbac_details_general_section(spec){
'style': 'width: 100%;'
}).appendTo(container);
- var tr = $('<tr/>', {
- }).appendTo(table);
+ var tr = $('<tr/>').appendTo(table);
var td = $('<td/>', {
'style': 'width: 100px; text-align: right;',
@@ -613,8 +612,7 @@ function ipa_hbac_details_general_section(spec){
'html': 'undo'
}).appendTo(span);
- tr = $('<tr/>', {
- }).appendTo(table);
+ tr = $('<tr/>').appendTo(table);
td = $('<td/>', {
'style': 'text-align: right; vertical-align: top;',
@@ -642,8 +640,7 @@ function ipa_hbac_details_general_section(spec){
'html': 'undo'
}).appendTo(span);
- tr = $('<tr/>', {
- }).appendTo(table);
+ tr = $('<tr/>').appendTo(table);
td = $('<td/>', {
'style': 'text-align: right; vertical-align: top;',
@@ -689,7 +686,7 @@ function ipa_hbac_association_widget(spec) {
spec = spec || {};
- var that = ipa_rule_association_widget(spec);
+ var that = ipa_association_table_widget(spec);
that.category = spec.category;