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

    • Bug
    • Resolution: Fixed
    • Normal
    • 7.0.6
    • 7.0.5.2
    • Components
    • None
    • 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

              jumperchen jumperchen
              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