From 33b584f0a0d8b7da10490bdae3df4421b8a46660 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 17 Apr 2013 15:46:15 +0200 Subject: Fix incorrect type -> $type conversion https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/dns.js | 4 ++-- 1 file 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); } -- cgit