From 20ad8fe1ba9b4a0f8ca9e365ac782895f6698c71 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 9 Nov 2011 18:48:04 -0600 Subject: 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 --- install/ui/aci.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'install/ui/aci.js') diff --git a/install/ui/aci.js b/install/ui/aci.js index cae06704..b63660da 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); -- cgit