summaryrefslogtreecommitdiffstats
path: root/install/static/ipa.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/ipa.js
parent10f3c0825bfdffa6035e78066001eb3bdc759143 (diff)
downloadfreeipa-69e77212ea428f79742b9ff0452ef19d74cc76d4.tar.gz
freeipa-69e77212ea428f79742b9ff0452ef19d74cc76d4.tar.xz
freeipa-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/ipa.js')
-rw-r--r--install/static/ipa.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/static/ipa.js b/install/static/ipa.js
index 6f44e358c..10993af85 100644
--- a/install/static/ipa.js
+++ b/install/static/ipa.js
@@ -57,8 +57,8 @@ var IPA = ( function () {
that.layouts_dir = 'layouts';
that.get_template = function(path) {
- if (!that.layout) return path;
- return that.layouts_dir+'/'+that.layout+'/'+path;
+ var layout = that.layout || 'default';
+ return that.layouts_dir+'/'+layout+'/'+path;
};
/* initialize the IPA JSON-RPC helper