diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-16 13:13:38 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:26 +0200 |
commit | 9a23e5c9ec887790a604ff5667a223e58485291a (patch) | |
tree | 2a8c6e5152a6ad8b7e6a57e62507195b68d6119c /install/ui/src/freeipa/field.js | |
parent | e100ba7e2b14b74ed548ee0dd6ba1093b17dd795 (diff) | |
download | freeipa-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.js | 2 |
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; |