//
This commit is contained in:
@@ -745,10 +745,10 @@ function multishippingMode(it)
|
|||||||
$('#link_multishipping_form').show();
|
$('#link_multishipping_form').show();
|
||||||
|
|
||||||
$('#link_multishipping_form').fancybox({
|
$('#link_multishipping_form').fancybox({
|
||||||
'transitionIn' : 'elastic',
|
'transitionIn': 'elastic',
|
||||||
'transitionOut' : 'elastic',
|
'transitionOut': 'elastic',
|
||||||
'type' : 'ajax',
|
'type': 'ajax',
|
||||||
'onClosed' : function()
|
'onClosed': function()
|
||||||
{
|
{
|
||||||
// Relaod the cart
|
// Relaod the cart
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@@ -761,13 +761,17 @@ function multishippingMode(it)
|
|||||||
})
|
})
|
||||||
updateCarrierSelectionAndGift();
|
updateCarrierSelectionAndGift();
|
||||||
},
|
},
|
||||||
'onStart' : function()
|
'onStart': function()
|
||||||
{
|
{
|
||||||
// Removing all ids on the cart to avoid conflic with the new one on the fancybox
|
// Removing all ids on the cart to avoid conflic with the new one on the fancybox
|
||||||
// This action could "break" the cart design, if css rules use ids of the cart
|
// This action could "break" the cart design, if css rules use ids of the cart
|
||||||
$.each($('#cart_summary *'), function(it, el) {
|
$.each($('#cart_summary *'), function(it, el) {
|
||||||
$(el).attr('id', '');
|
$(el).attr('id', '');
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
'onComplete': function()
|
||||||
|
{
|
||||||
|
cleanSelectAddressDelivery();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user