fissato baco remove clausola

This commit is contained in:
nicola 2024-12-13 13:15:40 +01:00
parent 2d07be7177
commit 1afb99e201
1 changed files with 11 additions and 7 deletions

View File

@ -340,13 +340,16 @@ $(document).ready(function() {
claListLen--; claListLen--;
numberOfQueries--; numberOfQueries--;
var thisIs = $("#" + claListItemId); var thisIs = $("#" + claListItemId);
$("#" + claListItemId).fadeOut(300, function() { if (claIdNum > 1) {
thisIs.remove(); $("#" + claListItemId).fadeOut(300, function() {
delete queryJson["Clausola" + claIdNum]; thisIs.remove();
delete window["context" + claIdNum]; $("#cond" + claIdNum).remove();
refreshClaList(claIdNum); delete queryJson["Clausola" + claIdNum];
refreshSortables(); delete window["context" + claIdNum];
}); refreshClaList(claIdNum);
refreshSortables();
});
}
}); });
// Evento: click sull'icona rimuovi condizione // Evento: click sull'icona rimuovi condizione
@ -981,6 +984,7 @@ $(document).ready(function() {
cloneLI = cloneLI.replace(/claCollBtn/g, "claCollBtn " + checkInsert); cloneLI = cloneLI.replace(/claCollBtn/g, "claCollBtn " + checkInsert);
}; };
var boolCond = $('<span />') var boolCond = $('<span />')
boolCond.attr('id','cond'+tabID);
switch (cond){ switch (cond){
case 1: boolCond.append("AND"); case 1: boolCond.append("AND");
break; break;