diff --git a/plugins/custom_forms/public/field.js b/plugins/custom_forms/public/field.js index 9ea9c40..6e811cb 100644 --- a/plugins/custom_forms/public/field.js +++ b/plugins/custom_forms/public/field.js @@ -8,7 +8,6 @@ jQuery('.icon-edit').live('click', function() { id = jQuery(elem).attr('field_id'); type = jQuery('#fields_'+id+'_type').val().split('_')[0]; selector = '#edit-'+type+'-'+id - jQuery(selector).show(); return selector } }); diff --git a/plugins/custom_forms/public/style.css b/plugins/custom_forms/public/style.css index a5b48bc..ed2b339 100644 --- a/plugins/custom_forms/public/style.css +++ b/plugins/custom_forms/public/style.css @@ -28,3 +28,6 @@ .edit-information { display: none; } +#colorbox .edit-information { + display: block; +} diff --git a/plugins/custom_forms/views/custom_forms_plugin_myprofile/_empty_option.html.erb b/plugins/custom_forms/views/custom_forms_plugin_myprofile/_empty_option.html.erb index 5028f50..d1c9c76 100644 --- a/plugins/custom_forms/views/custom_forms_plugin_myprofile/_empty_option.html.erb +++ b/plugins/custom_forms/views/custom_forms_plugin_myprofile/_empty_option.html.erb @@ -1,6 +1,6 @@ option_id=<%= option_counter %> style="display: none;"> <%= text_field_tag("fields[#{counter}][choices][#{option_counter}][name]") %> - <%= text_field_tag("fields[#{counter}][choices][#{option_counter}][value]", nil, :size => 15) %> + <%= text_field_tag("fields[#{counter}][choices][#{option_counter}][value]") %> <%= button_without_text :remove, _('Remove'), '#', :class => 'remove-option', :field_id => counter, :option_id => option_counter, :confirm => _('Are you sure you want to remove this option?') %> -- libgit2 0.21.2