From d3aa73e468fde7610033d94cca253006e94bb0c4 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 19 Jun 2025 17:46:13 +1000 Subject: [PATCH] Remove our highlighted item from the tree, when we click on the top-menu buttons --- .../themes/architect/views/layouts/partials/topmenu.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/themes/architect/views/layouts/partials/topmenu.blade.php b/resources/themes/architect/views/layouts/partials/topmenu.blade.php index f5048072..dd958411 100644 --- a/resources/themes/architect/views/layouts/partials/topmenu.blade.php +++ b/resources/themes/architect/views/layouts/partials/topmenu.blade.php @@ -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',