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

Invisible progressmeter throws javascript error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.3
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Steps to Reproduce

      1. load the zul below
        <progressmeter id="progressmeter" width="1000px" value="0" visible="false" />
        

      Actual Result

      Javascript error is shown.

      Uncaught TypeError: Cannot read property 'animate' of undefined zk.wpd:26835
      zul.wgt.Progressmeter.zk.$extends._fixImgWidth._zkf zk.wpd:26835
      zul.wgt.Progressmeter.zk.$extends.bind_ zk.wpd:26843
      zk.Widget.zk.$extends.bindChildren_ zk.wpd:16551
      zk.Widget.zk.$extends.bind_ zk.wpd:16521
      zk.Widget.zk.$extends.bind zk.wpd:16484
      zk.Widget.zk.$extends.replaceChildHTML_ zk.wpd:16334
      zk.Widget.zk.$extends.replaceHTML zk.wpd:16245
      mtBL0 zk.wpd:18381
      mtBL zk.wpd:18352
      zk.copy.zkx zk.wpd:18586
      zk.copy.zkmx zk.wpd:18614
      (anonymous function) progressmeter.zul:15

      Expected Result

      no error shows.

      Debug Information

      This issue doesn't happen when visible="true".
      This issue doesn't happen in 7.0.2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ChunfuChang ChunfuChang
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: