Remove our highlighted item from the tree, when we click on the top-menu buttons

This commit is contained in:
Deon George 2025-06-19 17:46:13 +10:00
parent 2ddeff8ed3
commit d3aa73e468

View File

@ -169,6 +169,9 @@
$('button[id^="link-"]').on('click',function(item) {
var content;
// Remove our fancy-tree highlight, since we are rendering the frame
$('.fancytree-node.fancytree-active').removeClass('fancytree-active');
$.ajax({
url: $(this).data('link'),
method: 'GET',