toggleLeftMenu function double call

Locked
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!

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

23 Mar 2017, 12:42

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

Locked

Return to “Sentinel”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests