-
Bug
-
Resolution: Fixed
-
Normal
-
5.0.7
-
None
Test code:
<zk> <zscript><![CDATA[ EventListener listener = new EventListener() { public void onEvent(Event event) { alert("click:"+event.name); } } ]]></zscript> <button label="Test" onClick='Messagebox.show("Yes and No", "Test", Messagebox.YES+Messagebox.NO, Messagebox.INFORMATION, listener)'/> </zk>
If the user presses ESC, the specified listener must be called (with onNo).