diff options
Diffstat (limited to 'install/ui/host.js')
-rw-r--r-- | install/ui/host.js | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/install/ui/host.js b/install/ui/host.js index 05484a030..5a786b016 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -73,8 +73,9 @@ IPA.entity_factories.host = function () { ] }]}). association_facet({ - factory: IPA.host_managedby_host_facet, - name: 'managedby_host' + name: 'managedby_host', + add_method: 'add_managedby', + remove_method: 'remove_managedby' }). association_facet({ name: 'memberof_hostgroup', @@ -622,21 +623,3 @@ IPA.host_certificate_status_widget = function (spec) { return that; }; - -IPA.host_managedby_host_facet = function (spec) { - - spec = spec || {}; - - var that = IPA.association_facet(spec); - - that.add_method = 'add_managedby'; - that.remove_method = 'remove_managedby'; - - that.create_adder_column({ - name: 'fqdn', - primary_key: true, - width: '200px' - }); - - return that; -}; |