summaryrefslogtreecommitdiffstats
path: root/install/ui/host.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-07-15 12:18:59 -0500
committerAdam Young <ayoung@redhat.com>2011-07-18 14:47:57 -0400
commit571274e978434a7b5e17100076172233e7320855 (patch)
tree6f3218dca5c41aad38d408f311546c72dd5c99d3 /install/ui/host.js
parent95901bbdb55cdf4213d3da4a79792805f7e8f264 (diff)
downloadfreeipa-571274e978434a7b5e17100076172233e7320855.tar.gz
freeipa-571274e978434a7b5e17100076172233e7320855.tar.xz
freeipa-571274e978434a7b5e17100076172233e7320855.zip
Entity select widget improvements
The IPA.entity_select_widget has been modified into a searchable and editable drop down list. The base functionality has been extracted into IPA.combobox_widget. Ticket #1361
Diffstat (limited to 'install/ui/host.js')
-rw-r--r--install/ui/host.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/install/ui/host.js b/install/ui/host.js
index 704783eec..e9adcd4f7 100644
--- a/install/ui/host.js
+++ b/install/ui/host.js
@@ -102,13 +102,14 @@ IPA.entity_factories.host = function () {
}).
standard_association_facets().
adder_dialog({
- width:500,
+ width: 400,
+ height: 250,
fields:[
{
- factory:IPA.entity_select_widget,
+ factory: IPA.entity_select_widget,
name: 'fqdn',
- field_name:'idnsname',
- entity: 'dnszone',
+ other_entity: 'dnszone',
+ other_field: 'idnsname',
label: IPA.messages.objects.service.host,
editable: true,
undo: false