fix pagination for products on category view
This commit is contained in:
parent
f82b651a30
commit
d71a45d198
|
|
@ -21,8 +21,10 @@
|
|||
</div>
|
||||
<div class="caption">
|
||||
<h6 class="regular"><%= link_to(cat.name, category_path(cat)) %></h6>
|
||||
</div><!-- end caption -->
|
||||
</div><!-- end thumbnail -->
|
||||
</div>
|
||||
<!-- end caption -->
|
||||
</div>
|
||||
<!-- end thumbnail -->
|
||||
</div>
|
||||
<% row += 1
|
||||
if row == 4
|
||||
|
|
@ -42,12 +44,12 @@
|
|||
<div id="products_list">
|
||||
<%= render '/product/partials/products_thumbnails' %>
|
||||
<div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$(".productQuickView").on('hidden.bs.modal', function () {
|
||||
$(this).data('bs.modal', null);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
$("#products_list").html("<%= escape_javascript(render('/product/partials/products_thumbnails')) %>");
|
||||
Loading…
Reference in New Issue