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

Accordion tabbox appendchild issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9
    • 5.0.8
    • Components
    • Security Level: Jimmy

      Click the button many times will cause first tab add header repeatly.(only happens in accordion mold)
      <zk>
      <window title="new page title" border="normal">
      <tabbox mold="accordion" id="tabBoxAdd">
      <tabs id="tabsAdd">
      </tabs>
      <tabpanels id="tabpanelsAdd">
      </tabpanels>
      </tabbox>
      <button label="add" onClick='add()'></button>
      <zscript>
      void add()

      { Tab tab = new Tab("new"); tabsAdd.appendChild(tab); Tabpanel tabpanel = new Tabpanel(); tabpanelsAdd.appendChild(tabpanel); }

      </zscript>
      </window>
      </zk>

            jumperchen jumperchen
            matthewgo matthewgo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: