Skip to content

Commit

Permalink
Fix admin quantity update
Browse files Browse the repository at this point in the history
Исправлено обновление количества из списка товаров
  • Loading branch information
ocshop committed Jan 4, 2015
1 parent 0d3478f commit f38cb1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/view/template/catalog/product_list.tpl
Expand Up @@ -391,7 +391,7 @@ $(".revertq").live("click", function () {
$(".saveq").live("click", function () {
var product_id = $(this).parent().parent().parent().find('input:checkbox').attr('value');
var product_id = $(this).parent().parent().parent().parent().find('input:checkbox').attr('value');
var quantity = $(this).parent().parent().find('input').val();
$.post('index.php?route=catalog/product/quantity&token=<?php echo $token; ?>', 'quantity=' + quantity + '&product_id=' + product_id);
$(this).parent().parent().find('.inlineEditq').text(quantity).show();
Expand Down

0 comments on commit f38cb1a

Please sign in to comment.