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

Calling Navseparator method getNavbar throws an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 9.5.0
    • 7.0.0
    • Components
    • None
    • None

      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

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

              Created:
              Updated:
              Resolved:

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