Sha256: 369da0f5d3594690dfba4ee4cc8f42899329dd44dde67c642ea4517d9574401a

Contents?: true

Size: 600 Bytes

Versions: 5

Compression:

Stored size: 600 Bytes

Contents

var $cc = $("<%= @params[:ajax_items_div] %>");

var html_str = "<%= j render partial: 'c80_yax/items/index',
      locals: {
      items: @items,
          will_paginate_items: @itms,
          without_paginator: false,
          thumb_size: 'thumb_md'
  } %>";

var hh = $cc.outerHeight(true) + "px";
$cc.css('min-height', hh);
$cc.find('.will_paginate').remove();
$cc.append($(html_str));

<% if @params[:type] == 'hit' %>
    $cc.css('margin-bottom', '165px');
<% end %>

_activate_more_items();

fLazyStart();

if (typeof refinePriceDecorator != 'undefined') {
    refinePriceDecorator.init();
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 app/views/c80_yax/ajax/fetch_items.js.erb
c80_yax-0.1.0.24 app/views/c80_yax/ajax/fetch_items.js.erb
c80_yax-0.1.0.23 app/views/c80_yax/ajax/fetch_items.js.erb
c80_yax-0.1.0.22 app/views/c80_yax/ajax/fetch_items.js.erb
c80_yax-0.1.0.21 app/views/c80_yax/ajax/fetch_items.js.erb