toggleLeftMenu function double call

Post Reply
mismanc
Posts: 1
Joined: 21 Feb 2015, 20:40

10 Oct 2016, 09:27

I was using layout.js that starts with
var Sentinel = {}
but I start getting errors like
--------------------------------------------------
Widget not available: Sentinel (10:16:59:503)
at http://localhost:8080/javax.faces.resou ... es&v=6.0:1
Widget not available: Sentinel (10:16:59:568)
at http://localhost:8080/javax.faces.resou ... es&v=6.0:1
Widget for var 'widget_menuform_sm_leftmenu' not available! (10:17:08:031)
at http://localhost:8080/javax.faces.resou ... es&v=6.0:1
Uncaught TypeError: Cannot read property 'toggleSubMenu' of undefined (10:17:08:038 | error, javascript)
at src/main/webapp/index.xhtml:517
---------------------------------------------------
then I've downloaded the sentinel theme again. I updated layout.js (starts with PrimeFaces.widget.Sentinel). Errors have gone. But when I click "layout-menubar-resize" item, call twice its click function

$('#layout-menubar-resize').on('click', function(e) {...........}

Thanks in advance!

User avatar
aragorn
Posts: 3215
Joined: 29 Jun 2013, 12:38

23 Mar 2017, 12:42

I couldn't replicate this issue. Please try last Sentinel version.

Post Reply

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest