From 7f813f2c0f96339e7543d84b3c21b65cf60df6ac Mon Sep 17 00:00:00 2001 From: wvengen Date: Wed, 18 Dec 2013 22:16:19 +0100 Subject: [PATCH] fix order add_article --- app/views/orders/add_article.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/orders/add_article.js.erb b/app/views/orders/add_article.js.erb index c16259eb..7343d501 100644 --- a/app/views/orders/add_article.js.erb +++ b/app/views/orders/add_article.js.erb @@ -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);