Fixed bug in new stockit article form.

This commit is contained in:
benni 2012-10-24 12:19:53 +02:00
parent e9383e0d17
commit ee3da51ad3

View file

@ -2,7 +2,7 @@
:javascript
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}
});
}