cleaning before merge
This commit is contained in:
parent
a7394fdc93
commit
2d5c17ac1e
@ -17,25 +17,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="block_filter">
|
||||
<div class="content">
|
||||
<h4 class="open">{l s='Recherche par' mod='filtervp'} taille</h4>
|
||||
|
||||
<div class="content_filter">
|
||||
<ul id="filters">
|
||||
<li>
|
||||
<input type="checkbox" name="size" value="1" id="size_1">
|
||||
<label for="size_1">Grand</label>
|
||||
</li>
|
||||
<li>
|
||||
<input type="checkbox" name="size" value="2" id="size_2">
|
||||
<label for="size_2">Petit</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
@ -64,13 +64,10 @@ $(document).ready(function() {
|
||||
filter.push($(this).val());
|
||||
});
|
||||
$("#product_list").val(0);
|
||||
console.log(filter);
|
||||
loading = true;
|
||||
console.log("{/literal}{$base_dir_ssl}{literal}modules/categoryscroll/ajax.php?c={/literal}{$id_category}{literal}&init=1&f="+ filter +"&p=1");
|
||||
$.get("{/literal}{$base_dir_ssl}{literal}modules/categoryscroll/ajax.php?c={/literal}{$id_category}{literal}&init=1&f="+ filter +"&p=1", function(loaded) {
|
||||
loaded = $.parseJSON(loaded)[0];
|
||||
if(loaded.error == false) {
|
||||
console.log(loaded);
|
||||
endreached = loaded.endreached;
|
||||
$("#product_list").html(loaded.products);
|
||||
$("#product_list").val(parseInt($("#product_list").val()) + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user