froxlor / Froxlor

The server administration software for your needs - The official Froxlor development Git repository
http://www.froxlor.org
GNU General Public License v2.0
1.63k stars 458 forks source link

open subfolder navigation #1176

Closed rubo77 closed 1 year ago

rubo77 commented 1 year ago

When right-clicking on a navigation menu item "open in new tab" there is added a part in the url after the hash like #sub0, but this is not used in the javascript.

The new page should open with the menu 0 opened already initially in that case

d00p commented 1 year ago

it is used in the javascript - it's bootstrap's toggle identifier... data-bs-toggle="collapse" data-bs-target="#sub0".

Pull-requests to enhance the navigation are welcomed if you want to do it

d00p commented 1 year ago

Works just fine for menu entries pointing to a specific site. It is not intended that menu-categories are open/shown when opened in a new tab.

As said, pull-requests are welcomed, but until then: works as inteded