// BugFix : Problem with delivery otion and opc when user is not connected

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11185 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte committed 2011-12-13 17:01:40 +00:00
1 parent dff66a14cd
commit b6b190de65
5 files changed
+24 -8

No files matched your search

+9 -5
View File
@@ -615,17 +615,21 @@ function updateHookShoppingCartExtra(html)
{
$('#HOOK_SHOPPING_CART_EXTRA').html(html);
}
$(document).ready(function() {
function refreshDeliveryOptions()
{
$.each($('.delivery_option_radio'), function() {
if ($(this).attr('checked'))
$(this).parent().find('.delivery_option_carrier').show();
else
$(this).parent().find('.delivery_option_carrier').hide();
});
$('.delivery_option_radio').change(function() {
$(this).parent().parent().find('.delivery_option_carrier').hide();
$(this).parent().find('.delivery_option_carrier').show();
}
$(document).ready(function() {
refreshDeliveryOptions();
$('.delivery_option_radio').live('change', function() {
refreshDeliveryOptions();
});
$('#allow_seperated_package').live('click', function() {