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

Calling Navseparator method getNavbar throws an error

    XMLWordPrintable

    Details

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

      Description

      Steps to Reproduce

      <zk xmlns:w="client">
        <navseparator id="ns"/>
        <button w:onClick="zk.$('$ns').getNavbar()" label="call"/>
      </zk>
      

      Click the button

      Current Result

      TypeError: can't access property "Navbar", zul.menu is undefinedzkmax.nav.wpd:911:8
      getNavbar zkmax.nav.wpd:911

      Expected Result

      No error

      Debug Information

      Just a typo.
      The method isn't used by widgets.

      Workaround

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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