Fixed bug in new stockit article form.
This commit is contained in:
parent
e9383e0d17
commit
ee3da51ad3
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
:javascript
|
:javascript
|
||||||
function fillNewStockArticle(text, li) {
|
function fillNewStockArticle(text, li) {
|
||||||
new Ajax.Updater('stock_article_form', '/stockit/fill_new_stock_article_form', {
|
new Ajax.Updater('stock_article_form', '#{url_for(:controller => "stockit", :action => "fill_new_stock_article_form")}', {
|
||||||
parameters: {article_id: li.id}
|
parameters: {article_id: li.id}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue