Commit a1ae0978a1ed3a4c2e46617fe4285985948d0e8e
1 parent
82e063b5
Exists in
staging
and in
42 other branches
Update form_for and javascript_tag syntax
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/manage_products/_add_input.html.erb
app/views/manage_products/_categories_for_selection.html.erb
1 | 1 | <%= select_for_categories(categories, level) %> |
2 | 2 | |
3 | -<% javascript_tag do %> | |
3 | +<%= javascript_tag do %> | |
4 | 4 | jQuery('#categories_container_wrapper').scrollTo('100%', 1000) |
5 | 5 | $('selected_category_id').value = <%= @category && @category.id %> |
6 | 6 | $('hierarchy_navigation').update('<%= escape_javascript(hierarchy_category_navigation(@category, :make_links => true)) %>') | ... | ... |