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

Nav's selectedItem causes a JS error when the navitem is being invalidated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.5.2
    • Fix Version/s: 7.0.6
    • Component/s: Components
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 7.0.7

      Description

      For example,

      <zk>
          <label multiline="true">
              1. Please open "Test Selection issue"
              2. Please select "Child 1", it should be selected.
              2. Please select "Child 2", if it cannot be selected that's a bug.
          </label>
      <navbar id="navbar" orient="vertical" collapsed="false"
              onSelect="self.getSelectedItem().invalidate()">
      
          <nav label="Test Selection issue" iconSclass="z-icon-home">
              <navitem label="Child 1"/>
              <navitem label="Child 2"/>
              <navitem label="Child 3"/>
              <navitem label="Child 4"/>
              <navitem label="Child 5"/>
          </nav>
      </navbar>
      </zk>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h