Subversion Repositories SmartDukaan

Rev

Rev 1807 | Rev 1819 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1807 Rev 1818
Line 50... Line 50...
50
      var new_count = $('.'+new_displayID).length;
50
      var new_count = $('.'+new_displayID).length;
51
      if(new_count !== count) {
51
      if(new_count !== count) {
52
        $('.comparision-product-column').each(function(){
52
        $('.comparision-product-column').each(function(){
53
          var check_childern = $(this).find('.'+new_displayID).html();
53
          var check_childern = $(this).find('.'+new_displayID).html();
54
          if(check_childern == null && check == 0) {
54
          if(check_childern == null && check == 0) {
55
            $(this).append("<div class='"+new_displayID+" comparision-hide comparision-empty-column'><div class='featureslisting'><ul><li class='mainFeature'>No features listed.</li></ul></div></div>");
55
            $(this).append("<div class='"+new_displayID+" comparision-hide comparision-empty-column'><div class='featureslisting'><ul><li class='mainFeature'>No features listed for this category.</li></ul></div></div>");
56
            check = 1;
56
            check = 1;
57
          }
57
          }
58
        });
58
        });
59
      }
59
      }
60
      $(this).removeClass("comparision-hide").addClass('comparision-block');
60
      $(this).removeClass("comparision-hide").addClass('comparision-block');
-
 
61
      check = 0;
61
      this.style.display = 'block';
62
      this.style.display = 'block';
62
    });
63
    });
63
    return false;
64
    return false;
64
  });
65
  });
65
  $('.comparision-hide').each(function(){
66
  $('.comparision-hide').each(function(){