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