allow displaying how much product wanted in category page

This commit is contained in:
Manuel Raynaud
2013-09-20 09:19:12 +02:00
parent c255548d9b
commit 16de9bbcc9
4 changed files with 15 additions and 35 deletions

View File

@@ -126,31 +126,10 @@
}).filter(':has(:checked)').addClass('active');
});
$('#limit-top').change(function(e){
window.location = $(this).val()
});
// Styliser le message Confirm par Bootstrap sur un formulaire
/*
$('body').on('click', '[data-confirm]', function(){
var $this = $(this);
bootbox.confirm($(this).attr('data-confirm'),
function(result){
if(result) {
// Si lien
if($this.attr('href')){
window.location.href = $this.attr('href');
}else{
// Si on doit soumettre un formulaire
var $form = $this.closest("form");
if($form.size() > 0){
$form.submit();
}
}
}
}
);
return false;
});
*/
});
})(jQuery);