tap/app/views/products/edit.js.erb

2 lines
126 B
Text
Raw Normal View History

2015-04-03 23:56:13 +02:00
$("#products_row_<%= dom_id(@product) %>").replaceWith("<%= j render "products_list/product_edit_row", product: @product %>")