This commit is contained in:
mDeflotte
2011-11-22 15:36:01 +00:00
parent 0c1ef08cca
commit b9987bc066
+9 -5
View File
@@ -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();
} }
}); });
} }