tentativo di visualizzare la div filtri

This commit is contained in:
nicola 2022-05-12 17:37:46 +02:00
parent 0356cf2fbc
commit 1da0c6ea57
1 changed files with 5 additions and 8 deletions

View File

@ -444,16 +444,18 @@ $(document).ready(function() {
jQuery(document).delegate('a.set-filter', 'click', function(e) {
e.preventDefault();
var didConfirm = confirm("Sei sicuro di voler definire il filtro?");
if (didConfirm == true) {
var content = jQuery('#filtro'),
size = jQuery('#filtri >div').length + 1,
element = null,
element = content.clone();
if (size == 1)
if (size == 1){
filterconditions = 1;
var divFiltri = $('#divfiltri').attr('style', "display:block;");
divFiltri.appenTo('#tuttiFiltri');
}
else
filterconditions = filterconditions + 1;
@ -491,11 +493,6 @@ $(document).ready(function() {
condizioniFiltro = {}
return true;
} else {
return false;
}
})
/**