Skip to content

Commit

Permalink
Issue #2155: Restricted jstree selector to prevent recursion.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaerter authored and svenoe committed Sep 25, 2023
1 parent 063cdbe commit a8f4c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/httpd/htdocs/js/Core.UI.InputFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a8f4c95

Please sign in to comment.