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/host.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index 857f8543..ab33892c 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -43,6 +43,7 @@ IPA.host.entity = function(spec) { ] }). details_facet({ + factory: IPA.host.details_facet, sections: [ { name: 'details', @@ -176,6 +177,17 @@ IPA.host.entity = function(spec) { return that; }; +IPA.host.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.host_fqdn_section = function(spec) { spec = spec || {}; -- cgit