From d3bf7e42844e94d8247abb24c7a8cd5b7d207fe0 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Sat, 18 Jun 2011 23:22:48 -0400 Subject: editable entity_select jsl fixes https://fedorahosted.org/freeipa/ticket/1043 remove redundant call to focus. --- install/ui/host.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index fe35e0f1..bd149178 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -87,7 +87,19 @@ IPA.entity_factories.host = function () { }). standard_association_facets(). adder_dialog({ - fields: ['fqdn', {factory:IPA.force_host_add_checkbox_widget}] + width:500, + fields:[ + { + factory:IPA.entity_select_widget, + name: 'fqdn', + field_name:'idnsname', + entity: 'dnszone', + label: IPA.messages.objects.service.host, + editable: true, + undo: false + }, + {factory:IPA.force_host_add_checkbox_widget} + ] }). build(); }; -- cgit