summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/dns.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 14:32:47 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:21 +0200
commit09296fc0b302d9a105aacad960c295991fa88a1d (patch)
tree54a4aef171dc65c250b8d01f0d79714d364a84df /install/ui/src/freeipa/dns.js
parente3ea5e8d5050890a8e7f17271d04954f71dad325 (diff)
downloadfreeipa-09296fc0b302d9a105aacad960c295991fa88a1d.tar.gz
freeipa-09296fc0b302d9a105aacad960c295991fa88a1d.tar.xz
freeipa-09296fc0b302d9a105aacad960c295991fa88a1d.zip
Use text.get for transforming values supplied by spec
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/dns.js')
-rw-r--r--install/ui/src/freeipa/dns.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/dns.js b/install/ui/src/freeipa/dns.js
index fc1475f37..81a5c34a2 100644
--- a/install/ui/src/freeipa/dns.js
+++ b/install/ui/src/freeipa/dns.js
@@ -27,11 +27,12 @@ define([
'./navigation',
'./menu',
'./phases',
+ './text',
'./details',
'./search',
'./association',
'./entity'],
- function(IPA, $, NET, navigation, menu, phases) {
+ function(IPA, $, NET, navigation, menu, phases, text) {
IPA.dns = {
zone_permission_name: 'Manage DNS zone ${dnszone}'
@@ -2155,7 +2156,7 @@ IPA.dns.record_modify_column = function(spec) {
var that = IPA.column(spec);
- that.text = spec.text || IPA.messages.buttons.edit;
+ that.text = text.get(spec.text || IPA.messages.buttons.edit);
that.setup = function(container, record, suppress_link) {