-
FEATURED COMPONENTS
First time here? Check out the FAQ!
When you make a click on a menú that has a popup child, the parent is not firing the onClick event, it used to work properly on version 6.5 !
Do you have a work around?
Here is the sample code I created on zkfiddle and I don't see the issue.
I couldn't login where you put the code, but here is the test code
<zk>
<menubar>
<menu label="Project" onClick='lbl.setValue("Menu clicked")'>
<menupopup>
<menuitem label="New" onClick="lbl.setValue(self.label)" />
<menuitem label="Open" onClick="lbl.setValue(self.label)" />
<menuitem label="Save" onClick="lbl.setValue(self.label)" />
<menuseparator />
<menuitem label="Exit" onClick="lbl.setValue(self.label)" />
<menu label="Second Level" onClick='lbl.setValue("I dont work")'>
<menupopup>
<menuitem label="I do" onClick='lbl.setValue("I do")'/>
</menupopup>
</menu>
</menupopup>
</menu>
</menubar>
<label id="lbl" />
</zk> The click on "Second Level" is just never occurred . Just try it !
Asked: 2014-02-21 16:36:21 +0800
Seen: 17 times
Last updated: Feb 25 '14