diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-08-19 10:20:40 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-08-23 16:12:05 +0000 |
commit | 68a345712c040d30e57d31a7881619567f7d35c5 (patch) | |
tree | 0e3461f44946069acff88ae34fb4e7d78aae5628 /install/ui/host.js | |
parent | 7879079ce2c984b8b7e450b1f9fbe223c5943602 (diff) | |
download | freeipa-68a345712c040d30e57d31a7881619567f7d35c5.tar.gz freeipa-68a345712c040d30e57d31a7881619567f7d35c5.tar.xz freeipa-68a345712c040d30e57d31a7881619567f7d35c5.zip |
Updated add and delete association dialog titles.
The association table widget and facet have been modified to accept
titles for the add and delete dialogs. The table and facet definitions
have been modified to specify the appropriate titles.
Some unused code have been removed.
Ticket #1629
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; -}; |