Commit 672dc28b0c0b783423beef57ac07308051caf206
1 parent
f7e0bbf3
Exists in
master
and in
21 other branches
products: fix typo in javascript_include_tag
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/manage_products/_categories_autocomplete.html.erb
1 | 1 | <%= text_field_tag 'product_category_id', '', :placeholder => _('type a category for the product') %> |
2 | 2 | |
3 | 3 | <%= javascript_include_tag '/javascripts/product_categories.js' %> |
4 | -<% javascript_tag do %> | |
4 | +<%= javascript_tag do %> | |
5 | 5 | product_categories.autocomplete.search_url = <%= url_for(:controller => :manage_products, :action => :search_categories).to_json %> |
6 | 6 | product_categories.autocomplete.select_url = <%= url_for(:controller => :manage_products, :action => :show_category_tree).to_json %> |
7 | 7 | product_categories.autocomplete.load('#product_category_id') | ... | ... |