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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.2
    • Fix Version/s: 6.0.5, 6.5.3
    • Component/s: Components
    • Labels:

      Description

      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/

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: