Remove our highlighted item from the tree, when we click on the top-menu buttons
This commit is contained in:
parent
2ddeff8ed3
commit
d3aa73e468
@ -169,6 +169,9 @@
|
|||||||
$('button[id^="link-"]').on('click',function(item) {
|
$('button[id^="link-"]').on('click',function(item) {
|
||||||
var content;
|
var content;
|
||||||
|
|
||||||
|
// Remove our fancy-tree highlight, since we are rendering the frame
|
||||||
|
$('.fancytree-node.fancytree-active').removeClass('fancytree-active');
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: $(this).data('link'),
|
url: $(this).data('link'),
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user