[-] BO : Fix Bug For new Fancy Box events

This commit is contained in:
Jerome Nadaud
2013-09-23 11:22:51 +02:00
parent cf82157d47
commit 5206496f64
2 changed files with 4 additions and 4 deletions
@@ -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();
}
});
+2 -2
View File
@@ -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