_updateFields js should start with first list item position of 1, not 0 #1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user