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

Progressmeter with 'visible=false' give JS error, page rendering is stopped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 7.0.3
    • Windows, FF 32.0.1, Chrome 37 64bit
      Netbeans 8.0.1, Maven

      Progressmeter with attribute 'visible=false' give JS error, page rendering is stopped with ajax 'Processing'.
      The same bug if trying set 'progressMeter.setVisible(false);' in 'doAfterCompose' method.
      JS console error: "Uncaught TypeError: Cannot read property 'animate' of undefined".

      Sample:
      http://zkfiddle.org/sample/1mbeog2/1-Progressmeter-7-0-3-with-visible-false-give-JS-error

      <zk>
      <window border="normal" title="Progressmeter in 7.0.3 with 'visible=false' give JS error, page rendering is stopped" >
      7.0.3: error JS console: "Uncaught TypeError: Cannot read property 'animate' of undefined"
      7.0.2: works fine
      <progressmeter id="progressMeter" visible="false" />

      </window>
      </zk>

            ChunfuChang ChunfuChang
            Piotr1 Piotr1
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: