summaryrefslogtreecommitdiffstats
path: root/install/ui/policy.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-11-29 14:29:51 +0100
committerEndi S. Dewata <edewata@redhat.com>2011-12-05 16:01:50 +0000
commit9a09916108539f0d9f70257983666254c0cde67e (patch)
tree1ccaf3f296ff1c9eaea466cd095a020a4bcd680e /install/ui/policy.js
parentab667912cf19d17e749d13b1d9f428ab6ae55b93 (diff)
downloadfreeipa.git-9a09916108539f0d9f70257983666254c0cde67e.tar.gz
freeipa.git-9a09916108539f0d9f70257983666254c0cde67e.tar.xz
freeipa.git-9a09916108539f0d9f70257983666254c0cde67e.zip
Changing definition of basic fields in section from factory to type
https://fedorahosted.org/freeipa/ticket/2040
Diffstat (limited to 'install/ui/policy.js')
-rw-r--r--install/ui/policy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/policy.js b/install/ui/policy.js
index 4726608c..fbabd083 100644
--- a/install/ui/policy.js
+++ b/install/ui/policy.js
@@ -39,7 +39,7 @@ IPA.pwpolicy.entity = function(spec) {
name : 'identity',
fields:[
{
- factory: IPA.entity_link_widget,
+ type: 'link',
name: 'cn',
other_entity: 'group'
},
@@ -58,7 +58,7 @@ IPA.pwpolicy.entity = function(spec) {
adder_dialog({
fields: [
{
- factory: IPA.entity_select_widget,
+ type: 'entity_select',
name: 'cn',
other_entity: 'group',
other_field: 'cn',