Hey there,
I’m implementing a somewhat dynamic menu which will have items added and removed to and from submenus in runtime. I want to, when pressing one of the root items, only show it’s submenu when that root’s submenu has items.
I’ve almost managed it: http://webix.com/snippet/1a6c9c05
If I press the lower button, no submenu shows up, because I’m using return false, which is the intended behaviour.
However, if I click on the upper icon, opening it’s submenu, and then the lower icon (while the upper’s submenu is open), the return false seems to do nothing and it will try to open the lower’s submenu.
Am I missing something?