fix unit quantity display after ajax update
This commit is contained in:
parent
5ead0fb441
commit
f1ae2724c6
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
// get old element and update the cell which is reused
|
||||
var old_order_article_entry = $('#order_article_<%= @order_article.id %>');
|
||||
|
||||
$('.article_price_unit_quantity', old_order_article_entry).text(
|
||||
'(× <%= @order_article.article_price.unit_quantity %>)'
|
||||
$('td.units_received_cell .package', old_order_article_entry).text(
|
||||
'× <%= @order_article.article_price.unit_quantity %>'
|
||||
);
|
||||
|
||||
// render new element and inject dynamic cell
|
||||
|
|
Loading…
Reference in a new issue