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

error on clicking header checkbox of empty listbox

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 8.5.0
    • Fix Version/s: 8.5.1
    • Component/s: Components
    • Labels:
      None

      Description

      If listbox configured with multiple="true" and checkmark="true", clicking on header checkbox rises error if listbox is empty.

      Simple example to reproduce issue:
      http://zkfiddle.org/sample/q6qopl/1-empty-listbox

      VM1672 zul.sel.wpd:1020 Uncaught TypeError: Cannot read property '$n' of undefined
      at init.fireOnSelect (VM1672 zul.sel.wpd:1020)
      at init._zkf (VM1672 zul.sel.wpd:936)
      at init._doClick (VM1672 zul.sel.wpd:2931)
      at HTMLSpanElement.<anonymous> (zk.wpd:18044)
      at HTMLSpanElement.dispatch (zk.wpd:5286)
      at HTMLSpanElement.elemData.handle (zk.wpd:4957)

        Issue Links

          Activity

          Hide
          rudyhuang rudyhuang added a comment -

          Hi, thanks for reporting this issue.
          This issue has been fixed in ZK-3656 (which will be included in ZK 8.5.1)

          Show
          rudyhuang rudyhuang added a comment - Hi, thanks for reporting this issue. This issue has been fixed in ZK-3656 (which will be included in ZK 8.5.1)

            People

            • Assignee:
              Unassigned
              Reporter:
              fse fse
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: