From 3528b4eca3cf2519a6af5a43f6b321cbd8eea138 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 18 Apr 2011 10:59:50 -0500 Subject: Moved adder dialog box into entity. The adder dialog box definition has been moved from search facet into entity to make it accessible from other facets. --- install/ui/host.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index 71e49fba..44479de6 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -33,8 +33,7 @@ IPA.entity_factories.host = function () { name: 'krblastpwdchange', label: IPA.messages.objects.host.enrolled, format: IPA.utc_date_column_format - }], - add_fields: ['fqdn', {factory:IPA.force_host_add_checkbox_widget}] + }] }). details_facet({sections:[ { @@ -87,6 +86,9 @@ IPA.entity_factories.host = function () { associator: IPA.serial_associator }). standard_association_facets(). + adder_dialog({ + fields: ['fqdn', {factory:IPA.force_host_add_checkbox_widget}] + }). build(); }; -- cgit