summaryrefslogtreecommitdiffstats
path: root/install/ui/host.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-18 23:22:48 -0400
committerAdam Young <ayoung@redhat.com>2011-06-20 15:36:30 -0400
commitd3bf7e42844e94d8247abb24c7a8cd5b7d207fe0 (patch)
tree07d173b3c5f965f921396c787aae1c5768661e76 /install/ui/host.js
parent38f4368e3031d7baab7b07972be2932e990d3694 (diff)
downloadfreeipa-d3bf7e42844e94d8247abb24c7a8cd5b7d207fe0.tar.gz
freeipa-d3bf7e42844e94d8247abb24c7a8cd5b7d207fe0.tar.xz
freeipa-d3bf7e42844e94d8247abb24c7a8cd5b7d207fe0.zip
editable entity_select
jsl fixes https://fedorahosted.org/freeipa/ticket/1043 remove redundant call to focus.
Diffstat (limited to 'install/ui/host.js')
-rw-r--r--install/ui/host.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/install/ui/host.js b/install/ui/host.js
index fe35e0f1f..bd149178e 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();
};