Sha256: 08a41c68af0c44a06bb0152b0937beb0f78d6f32595996f824c4919b77100054

Contents?: true

Size: 514 Bytes

Versions: 4

Compression:

Stored size: 514 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();

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
c80_yax-0.1.0.20 app/views/c80_yax/ajax/fetch_items.js.erb
c80_yax-0.1.0.18 app/views/c80_yax/ajax/fetch_items.js.erb
c80_yax-0.1.0.17 app/views/c80_yax/ajax/fetch_items.js.erb
c80_yax-0.1.0.16 app/views/c80_yax/ajax/fetch_items.js.erb