summaryrefslogtreecommitdiffstats
path: root/install/ui/policy.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/policy.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/policy.js')
-rw-r--r--install/ui/policy.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js
index 46582f468..dd4efa025 100644
--- a/install/ui/policy.js
+++ b/install/ui/policy.js
@@ -46,12 +46,15 @@ IPA.entity_factories.pwpolicy = function() {
adder_dialog({
fields:[
{
- factory:IPA.entity_select_widget,
+ factory: IPA.entity_select_widget,
name: 'cn',
- entity: 'group',
+ other_entity: 'group',
+ other_field: 'cn',
undo: false
},
- 'cospriority']
+ 'cospriority'],
+ width: 400,
+ height: 250
}).
build();
};