Fixed bug on new delivery page.
This commit is contained in:
parent
7742403bbe
commit
80691c441b
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
%p
|
%p
|
||||||
:javascript
|
:javascript
|
||||||
function fillNewStockArticle(text, li) {
|
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',
|
method: 'get',
|
||||||
parameters: {article_id: li.id}
|
parameters: {article_id: li.id}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue