From f29991f4d0d28861ca25403c7543639487beffaa Mon Sep 17 00:00:00 2001 From: Luca Trupiano Date: Tue, 18 Apr 2023 17:36:03 +0200 Subject: [PATCH] Cambiato nome tab, fixed typo --- index_4.3.html | 14 +++++++------- js/script_4.3.js | 10 +++------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/index_4.3.html b/index_4.3.html index f4fab2c..f6a4fa1 100644 --- a/index_4.3.html +++ b/index_4.3.html @@ -468,22 +468,22 @@
-
-
Visualizza annotazioni
+
+
Visualizza commenti
-
-
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); - } + }; }); });