summaryrefslogtreecommitdiffstats
path: root/install/ui/aci.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-11-09 18:48:04 -0600
committerAdam Young <ayoung@redhat.com>2011-11-14 16:47:10 -0500
commit20ad8fe1ba9b4a0f8ca9e365ac782895f6698c71 (patch)
tree1b55c708fbb6cdee93f9e194586a8dbe9633ff3d /install/ui/aci.js
parentd6d24be28953f2ec3cf1f2400619fd61459cf45f (diff)
downloadfreeipa-20ad8fe1ba9b4a0f8ca9e365ac782895f6698c71.tar.gz
freeipa-20ad8fe1ba9b4a0f8ca9e365ac782895f6698c71.tar.xz
freeipa-20ad8fe1ba9b4a0f8ca9e365ac782895f6698c71.zip
Removed develop.js.
The develop.js is no longer necessary because the code in it has been merged into the main code. An empty extension.js has been added to provide a place for UI customization. Ticket #2099
Diffstat (limited to 'install/ui/aci.js')
-rw-r--r--install/ui/aci.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js
index cae067040..b63660da3 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -36,6 +36,7 @@ IPA.aci.permission_entity = function(spec) {
columns: [ 'cn' ]
}).
details_facet({
+ factory: IPA.aci.permission_details_facet,
sections: [
{
name: 'identity',
@@ -90,6 +91,17 @@ IPA.aci.permission_entity = function(spec) {
return that;
};
+IPA.aci.permission_details_facet = function(spec) {
+
+ var that = IPA.details_facet(spec);
+
+ that.get_refresh_command_name = function() {
+ return that.entity.name+'_show_'+that.pkey;
+ };
+
+ return that;
+};
+
IPA.aci.privilege_entity = function(spec) {
var that = IPA.entity(spec);