fixing stock update

This commit is contained in:
Qwann 2017-01-31 15:55:38 +01:00
parent 0ac1eaf414
commit a400832c6d

View file

@ -1251,7 +1251,7 @@ $(document).ready(function() {
}
for (var i=0; i<data['articles'].length; i++) {
article = data['articles'][i];
articles_container.find('[data-article='+article['id']+'] .stock')
articles_container.find('#data-article-'+article['id']+' .stock')
.text(article['stock']);
}
if (data['addcost']) {