From ad5988a3200ea7a33b5191cfb8ad7f8b36279156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20J=C3=A4ckle?= Date: Wed, 31 Jul 2024 14:42:29 +0200 Subject: [PATCH] update JS dependencies for website + Ditto UI --- .../src/main/resources/_includes/head.html | 8 +- .../src/main/resources/js/customscripts.js | 12 +- ui/index.html | 20 +- ui/modules/operations/servicesLogging.html | 9 +- ui/modules/utils.ts | 1 + ui/modules/utils/crudToolbar.html | 8 +- ui/package-lock.json | 3262 +++++++---------- ui/package.json | 28 +- 8 files changed, 1388 insertions(+), 1960 deletions(-) diff --git a/documentation/src/main/resources/_includes/head.html b/documentation/src/main/resources/_includes/head.html index f85c61837f..a17ced9a10 100644 --- a/documentation/src/main/resources/_includes/head.html +++ b/documentation/src/main/resources/_includes/head.html @@ -8,15 +8,15 @@ - + - - - + + + diff --git a/documentation/src/main/resources/js/customscripts.js b/documentation/src/main/resources/js/customscripts.js index 2a3276ca6b..e8901b2f7b 100644 --- a/documentation/src/main/resources/js/customscripts.js +++ b/documentation/src/main/resources/js/customscripts.js @@ -10,13 +10,13 @@ $(function () { $(document).ready(function() { $("#mysidebar li.subfolders > a").click(function (e) { e.preventDefault(); - var theUl = $(this).parent().select("ul"); - if (!theUl.hasClass("open")) { - theUl.addClass("open"); - theUl.removeClass("closed"); + var theLi = $(this).parent(); + if (!theLi.hasClass("open")) { + theLi.addClass("open"); + theLi.removeClass("closed"); } else { - theUl.addClass("closed"); - theUl.removeClass("open"); + theLi.addClass("closed"); + theLi.removeClass("open"); } }); $("#collapseAll").click(function(e) { diff --git a/ui/index.html b/ui/index.html index 64bee21370..40009d060d 100644 --- a/ui/index.html +++ b/ui/index.html @@ -16,8 +16,10 @@ Eclipse Ditto™ explorer - + - @@ -54,27 +56,27 @@