slemmon
16 Aug 2011, 9:51 PM
I have a button with a menu. The single item in that menu is a panel. The panel has a toolbar with a cycle button in it.
Clicking on the cycle button's menu would hide the parent menu which I was trying to avoid. Got around that by setting menu.allowOtherMenus = true.
What I haven't been able to do is to prevent the parent menu from closing when I click on a button in the cycle's menu. Tried swallowing the event 'mousedown' on the cycle menu's el. Tried e.stopEvent() on the cycle menu's el as well as on the menuItem's els. No luck.
Thoughts?
Clicking on the cycle button's menu would hide the parent menu which I was trying to avoid. Got around that by setting menu.allowOtherMenus = true.
What I haven't been able to do is to prevent the parent menu from closing when I click on a button in the cycle's menu. Tried swallowing the event 'mousedown' on the cycle menu's el. Tried e.stopEvent() on the cycle menu's el as well as on the menuItem's els. No luck.
Thoughts?