Skip to content

Commit

Permalink
XWIKI-21851: Found page in the Page Tree macro with a Solr field cann…
Browse files Browse the repository at this point in the history
…ot be opened by left-clicking

* Updated the default option to allow reactivation of a link that's already selected.
  • Loading branch information
Sereza7 committed Feb 8, 2024
1 parent 6872d3e commit 455368b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ define(['jquery', 'jsTree', 'xwiki-events-bridge'], function($) {
}
};

// We want to still activate the links with a click even after they are selected from the finder.
$.jstree.defaults.core.allow_reselect = true;

var createSuggestInput = function(options) {
var input = document.createElement('input');
input.type = 'text';
Expand Down

0 comments on commit 455368b

Please sign in to comment.