Merge pull request #961 from joseantgv/patch-4
[-] MO : Whishlist, innerhtml in html jquery
This commit is contained in:
commit
cd83ec93c7
1 file changed
+3
-3
@@ -58,7 +58,7 @@ function WishlistCart(id, action, id_product, id_product_attribute, quantity)
|
|||||||
if($('#' + id).length != 0)
|
if($('#' + id).length != 0)
|
||||||
{
|
{
|
||||||
$('#' + id).slideUp('normal');
|
$('#' + id).slideUp('normal');
|
||||||
document.getElementById(id).innerHTML = data;
|
$('#' + id).html(data);
|
||||||
$('#' + id).slideDown('normal');
|
$('#' + id).slideDown('normal');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@ function WishlistChangeDefault(id, id_wishlist)
|
|||||||
success: function(data)
|
success: function(data)
|
||||||
{
|
{
|
||||||
$('#' + id).slideUp('normal');
|
$('#' + id).slideUp('normal');
|
||||||
document.getElementById(id).innerHTML = data;
|
$('#' + id).html(data);
|
||||||
$('#' + id).slideDown('normal');
|
$('#' + id).slideDown('normal');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -147,7 +147,7 @@ function WishlistManage(id, id_wishlist)
|
|||||||
success: function(data)
|
success: function(data)
|
||||||
{
|
{
|
||||||
$('#' + id).hide();
|
$('#' + id).hide();
|
||||||
document.getElementById(id).innerHTML = data;
|
$('#' + id).html(data);
|
||||||
$('#' + id).fadeIn('slow');
|
$('#' + id).fadeIn('slow');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user