last changes since 6-2023
This commit is contained in:
parent
0341c9c189
commit
04d677d37a
142 changed files with 7895 additions and 2855 deletions
|
|
@ -49,7 +49,7 @@ var IqShoppingCart = {
|
|||
var _self = this;
|
||||
$(_self.btn_clear).on('click', function (){
|
||||
_self.performRequest({action: 'clearCart'})
|
||||
.done(_self.refreshDatabaseRefreshAndView)
|
||||
.done(_self.locationReload)
|
||||
});
|
||||
$(_self.cart_input).on('change', function(){
|
||||
_self.update_input_cart($(this));
|
||||
|
|
@ -134,6 +134,10 @@ var IqShoppingCart = {
|
|||
input.val(data.data.qty);
|
||||
_self.showInit();
|
||||
},
|
||||
locationReload : function(){
|
||||
//location.reload();
|
||||
location.replace(location.href);
|
||||
},
|
||||
refreshDatabaseRefreshAndView : function (data){
|
||||
var _self = IqShoppingCart;
|
||||
$(_self.card_holder).html(data.html_card);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue