Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1996

Navitem onClick event would trigger twice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: Components
    • Labels:
      None

      Description

      When click on Navitem's label, it would trigger onClick event twice.

      <zk>
        <navbar>
          <navitem label="Click me!" onClick='msg.appendChild(new Label("[click]"));' iconSclass="z-icon-flag"/>
        </navbar>
        <div id="msg" />
      </zk>
      

        Attachments

          Activity

            People

            Assignee:
            RaymondChao RaymondChao
            Reporter:
            RaymondChao RaymondChao
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: