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

Typo in some zk.fmt.Number functions: varStr (wrong) vs valStr (right)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.5, 6.5.3
    • 6.5.2
    • Components
    • None

      The functions 'isRoundingRequired' and 'format' declare the variable 'valStr' but sometimes refer to it as 'varStr' (var nind = (indVal < 0 ? varStr.length : indVal) + shift, which is undefined.

      Forum reference: http://forum.zkoss.org/question/86571/doublebox-with-format-fails-at-the-client-side-if-typed-number-10e-6/

            noahhuang noahhuang
            cvarona cvarona
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: