summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/field.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-16 13:13:38 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:26 +0200
commit9a23e5c9ec887790a604ff5667a223e58485291a (patch)
tree2a8c6e5152a6ad8b7e6a57e62507195b68d6119c /install/ui/src/freeipa/field.js
parente100ba7e2b14b74ed548ee0dd6ba1093b17dd795 (diff)
downloadfreeipa-9a23e5c9ec887790a604ff5667a223e58485291a.tar.gz
freeipa-9a23e5c9ec887790a604ff5667a223e58485291a.tar.xz
freeipa-9a23e5c9ec887790a604ff5667a223e58485291a.zip
Registry and builder for formatters
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/field.js')
-rw-r--r--install/ui/src/freeipa/field.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/field.js b/install/ui/src/freeipa/field.js
index 25576a93a..292f8881b 100644
--- a/install/ui/src/freeipa/field.js
+++ b/install/ui/src/freeipa/field.js
@@ -55,7 +55,7 @@ IPA.field = function(spec) {
that.label = text.get(spec.label);
that.tooltip = text.get(spec.tooltip);
that.measurement_unit = spec.measurement_unit;
- that.formatter = spec.formatter;
+ that.formatter = builder.build('formatter', spec.formatter);
that.widget = null;
that.widget_name = spec.widget;