Fixed bug on new delivery page.

This commit is contained in:
Benjamin Meichsner 2010-09-17 18:45:07 +02:00
parent 7742403bbe
commit 80691c441b

View file

@ -36,7 +36,7 @@
%p
:javascript
function fillNewStockArticle(text, li) {
new Ajax.Updater('stock_article_form', '/deliveries/fill_new_stock_article_form', {
new Ajax.Updater('stock_article_form', '#{url_for(:controller => "deliveries", :action => "fill_new_stock_article_form")}', {
method: 'get',
parameters: {article_id: li.id}
});