_updateFields js should start with first list item position of 1, not 0 #1

Open
aepstein wants to merge 16 commits from aepstein/patch-1 into master
Showing only changes of commit 042fcc9976 - Show all commits

View File

@ -18,7 +18,7 @@ class CocoonInput
template.link_to_add_association template.t('.add'), builder, method, input_html_options template.link_to_add_association template.t('.add'), builder, method, input_html_options
end end
data = wraper_html_options.merge(:class => 'input cocoon') data = wrapper_html_options.merge(:class => 'input cocoon')
if options[:ordered_by] if options[:ordered_by]
data['data-ordered_by'] = options[:ordered_by] data['data-ordered_by'] = options[:ordered_by]
end end