From a8f4c958df75d69984d69164598afb1809e8d3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=A4rter?= Date: Mon, 25 Sep 2023 14:51:30 +0200 Subject: [PATCH] Issue #2155: Restricted jstree selector to prevent recursion. --- var/httpd/htdocs/js/Core.UI.InputFields.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/httpd/htdocs/js/Core.UI.InputFields.js b/var/httpd/htdocs/js/Core.UI.InputFields.js index 84c332ed48..cc6bdc2f61 100644 --- a/var/httpd/htdocs/js/Core.UI.InputFields.js +++ b/var/httpd/htdocs/js/Core.UI.InputFields.js @@ -2484,7 +2484,7 @@ Core.UI.InputFields = (function (TargetNS) { // Expand disabled nodes on click setTimeout( function() { - $('.Disabled > a.jstree-anchor').on('click', function() { + $('.Disabled[aria-expanded] > a.jstree-anchor').on('click', function() { $(this).prev('.jstree-icon').trigger('click'); return false;