[-] BO : Fix Bug For new Fancy Box events
This commit is contained in:
@@ -48,11 +48,11 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("#group_discount_category").fancybox({
|
||||
onStart: function () {
|
||||
beforeLoad: function () {
|
||||
$('#group_discount_category_fancybox').show();
|
||||
initFancyBox();
|
||||
},
|
||||
onClosed: function () {
|
||||
beforeClose: function () {
|
||||
$('#group_discount_category_fancybox').hide();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -766,7 +766,7 @@ function multishippingMode(it)
|
||||
'transitionIn': 'elastic',
|
||||
'transitionOut': 'elastic',
|
||||
'type': 'ajax',
|
||||
'onClosed': function()
|
||||
'beforeClose': function()
|
||||
{
|
||||
// Reload the cart
|
||||
$.ajax({
|
||||
@@ -783,7 +783,7 @@ function multishippingMode(it)
|
||||
});
|
||||
updateCarrierSelectionAndGift();
|
||||
},
|
||||
'onStart': function()
|
||||
'beforeLoad': function()
|
||||
{
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user