Hi,
Has anyone faced an issue with using the topbar settings menu where if you use one of item's href the menu doesn't close when you navigate to that page. I had a look through other topics in the Poseidon section of the forum and couldn't find anyone else reporting it.
I created a loginsettings.xhtml page which can be navigated to from the Login Settings link in the topbar menu. When I go on to that page the topbar menu opens and stays open. I added the same href link to the topbar-item user-profile > Settings and that menu opens and doesn't close when on loginsettings.xhtml.
Any help from stopping this from happening would be greatly appreciated.
Thanks,
Nacim
Topbar Menu stays active/open
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Could you please make the following change in layout.js?
Could you please make the following change in layout.js?
Code: Select all
// line 419
restoreMenuState: function () {
var link = $('.layout-menu a[href^="' + this.cfg.pathname + '"]'); /* instead of $('a[href^="' + this.cfg.pathname + '"]'); */
var $this = this;
if (link.length) {
...
...
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks a lot for your update! I've fixed it for the next version.
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 21 guests