dhtmlxMenu: How to make clickable the parent item of a subme

Hi,

I need to have the parent item of a submenu clickable. I didn’t found any solution to solve this, clicking do nothing.

Is there any hack to solve this?

Thx


Hello,


onClick event isn’t called for the complex items. In order to change this behavior you can comment the following line in the dhtmlxmenu.js:


// if (type.charAt(0)==“c”) return;


It works! Many thx.



It would be nice to make this hack a functionality.