diff options
Diffstat (limited to 'install/ui/host.js')
-rw-r--r-- | install/ui/host.js | 12 |
1 files changed, 12 insertions, 0 deletions
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 || {}; |