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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.3
    • Fix Version/s: None
    • Labels:
    • Environment:

      Windows, FF 32.0.1, Chrome 37 64bit
      Netbeans 8.0.1, Maven

      Description

      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>

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: