From 4a4b672886fe1545fe645077edfb113446ab7947 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 24 Mar 2016 21:45:34 +0200 Subject: [PATCH] 24.03.16 finish 1 --- frontend/web/js/basket.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/web/js/basket.js b/frontend/web/js/basket.js index a9ac6ab..0657dfc 100644 --- a/frontend/web/js/basket.js +++ b/frontend/web/js/basket.js @@ -46,13 +46,15 @@ $(document).ready(function(){ $.post( "/orders/delete", {id: id}, function( data ) { }); - + var forCount = block.parents('ul'); $('.order_list_li[data-id='+id+']').each(function(){ var block = $(this); block.remove(); }); + countPrise(forCount); + + - countPrise(block); }); -- libgit2 0.21.4