// Improving delivery option list render

This commit is contained in:
mDeflotte
2012-01-25 08:23:28 +00:00
parent 1fe883fe44
commit 1b125bcf01
3 changed files with 53 additions and 44 deletions
+2 -1
View File
@@ -616,7 +616,8 @@ function refreshDeliveryOptions()
$.each($('.delivery_option_radio'), function() {
if ($(this).attr('checked'))
{
$(this).parent().find('.delivery_option_carrier').show();
if ($(this).parent().find('.delivery_option_carrier.not-displayable').length == 0)
$(this).parent().find('.delivery_option_carrier').show();
var carrier_id_list = $(this).val().split(',');
carrier_id_list.pop();
var it = this;