-
Visualizza info periodo
+
+
Visualizza struttura periodo
diff --git a/js/script_4.3.js b/js/script_4.3.js
index f9f1372..65cbe20 100644
--- a/js/script_4.3.js
+++ b/js/script_4.3.js
@@ -242,11 +242,9 @@ $(document).ready(function() {
var claListItemId = $(this).closest('li').attr('id');
var claIdNum = claListItemId.substr(6);
claListLen--;
- //$("#" + claListItemId)[0].remove();
$("#" + claListItemId).fadeOut('fast',
function(){
- $("#" + claListItemId)[0].remove();
-
+ $("#" + claListItemId)[0].remove();
delete queryJson["Clausola" + claIdNum];
delete window["context" + claIdNum];
refreshClaList();
@@ -256,19 +254,17 @@ $(document).ready(function() {
// Evento: click sull'icona rimuovi condizione
$('#sortable0').on('click', '.removeCond', function() {
- //$(this).closest('ul').parent().remove();
var here = this;
$(this).closest('ul').parent().fadeOut('fast',
function(here){
- $(here).closest('ul').parent().remove();
-
+ $(here).closest('ul').parent().remove();
condListLen--;
refreshClaList();
refreshSortables();
refreshConnectWith();
if (claListLen == 0 && condListLen == 0) {
$('#sortable0').html(emptyClaList);
- }
+ };
});
});