Messagebox does not invoke the listener if ESC is pressed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 5.0.9
    • Affects Version/s: 5.0.7
    • Component/s: Components
    • None
    • 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).

            Assignee:
            Unassigned
            Reporter:
            jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: