fix order add_article

This commit is contained in:
wvengen 2013-12-18 22:16:19 +01:00
parent 88f2dad706
commit 7f813f2c0f

View file

@ -6,7 +6,7 @@ $('div.container-fluid').prepend(
$('.ordered-articles tr').removeClass('success');
var article_for_adding = $(
'<%= j(render(:partial => 'edit_article', :locals => {:order_article => @order_article})) %>'
'<%= j(render(:partial => 'edit_amount', :locals => {:order_article => @order_article})) %>'
).addClass('success');
$('.ordered-articles tbody').append(article_for_adding);