Index: admin_templates/js/form_controls.js =================================================================== --- admin_templates/js/form_controls.js (revision 13329) +++ admin_templates/js/form_controls.js (working copy) @@ -247,7 +247,7 @@ for (var $i = 0; $i < $node.childNodes.length; $i++) { var $child = $node.childNodes.item($i); if ($child.tagName == 'record') { - this.Records[this.Records.length] = new Array (); + this.Records[this.Records.length] = {}; this.ProcessXMLNode($child, $root_name); this.ShowRecord(this.Records.length - 1); } Index: units/custom_fields/custom_fields_config.php =================================================================== --- units/custom_fields/custom_fields_config.php (revision 13329) +++ units/custom_fields/custom_fields_config.php (working copy) @@ -118,7 +118,7 @@ ), // for ValueList field editing via "inp_edit_minput" control - 'OptionKey' => Array ('type' => 'int', 'not_null' => 1, 'default' => ''), + 'OptionKey' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), 'OptionTitle' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), 'Options' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''),