fixing stock update
This commit is contained in:
parent
0ac1eaf414
commit
a400832c6d
1 changed files with 1 additions and 1 deletions
|
@ -1251,7 +1251,7 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
for (var i=0; i<data['articles'].length; i++) {
|
for (var i=0; i<data['articles'].length; i++) {
|
||||||
article = data['articles'][i];
|
article = data['articles'][i];
|
||||||
articles_container.find('[data-article='+article['id']+'] .stock')
|
articles_container.find('#data-article-'+article['id']+' .stock')
|
||||||
.text(article['stock']);
|
.text(article['stock']);
|
||||||
}
|
}
|
||||||
if (data['addcost']) {
|
if (data['addcost']) {
|
||||||
|
|
Loading…
Reference in a new issue