summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-17 15:46:15 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:27 +0200
commit33b584f0a0d8b7da10490bdae3df4421b8a46660 (patch)
treef73c892aa198e2e832dc1a7284a2413d1ec9a3e5
parent7a3f08002dc44c1dafce461a249eacc435725871 (diff)
downloadfreeipa-33b584f0a0d8b7da10490bdae3df4421b8a46660.tar.gz
freeipa-33b584f0a0d8b7da10490bdae3df4421b8a46660.tar.xz
freeipa-33b584f0a0d8b7da10490bdae3df4421b8a46660.zip
Fix incorrect type -> $type conversion
https://fedorahosted.org/freeipa/ticket/3235
-rw-r--r--install/ui/src/freeipa/dns.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/dns.js b/install/ui/src/freeipa/dns.js
index 4ee17ebb0..e42d4a1b9 100644
--- a/install/ui/src/freeipa/dns.js
+++ b/install/ui/src/freeipa/dns.js
@@ -1364,7 +1364,7 @@ IPA.dns.record_prepare_editor_for_type = function(type, fields, widgets, update)
field.name = attribute.name;
field.label = attribute.label ||
IPA.dns.record_get_attr_label(attribute.name);
- set_defined(attribute.type, field, 'type');
+ set_defined(attribute.$type, field, '$type');
set_defined(attribute.validators, field, 'validators');
set_defined(attribute.required, field, 'required');
copy_obj(widget, attribute.field_opt);
@@ -1378,7 +1378,7 @@ IPA.dns.record_prepare_editor_for_type = function(type, fields, widgets, update)
widget.name = attribute;
} else {
widget.name = attribute.name;
- set_defined(attribute.type, widget, 'type');
+ set_defined(attribute.$type, widget, '$type');
set_defined(attribute.options, widget, 'options');
copy_obj(widget, attribute.widget_opt);
}