diff --git a/source/Ox.UI/js/Form/FormPanel.js b/source/Ox.UI/js/Form/FormPanel.js index e1af6c07..840fdf55 100644 --- a/source/Ox.UI/js/Form/FormPanel.js +++ b/source/Ox.UI/js/Form/FormPanel.js @@ -83,12 +83,14 @@ Ox.FormPanel = function(options, self) { }) .append( $('
') + .addClass('OxSelectable') .css({marginBottom: '8px', fontWeight: 'bold'}) .html((i + 1) + '. ' + section.title) ) .append( $('
') - .css({marginBottom: '16px', WebkitUserSelect: 'text'}) + .addClass('OxSelectable') + .css({marginBottom: '16px'}) .html(section.description) ) .append( @@ -187,7 +189,7 @@ Ox.FormPanel = function(options, self) { that.values = function() { var values = {}; self.options.form.forEach(function(section, i) { - values[section.title] = self.$forms[i].values(); + values[section.id] = self.$forms[i].values(); }); return values; };