Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    bug in Validators.js (and correction)

    I checked it in SmartClient_SC_SNAPSHOT-2010-11-29.

    File: Validators.js, function: isTime
    Code:
                // support being passed a full datetime string as well
                if (dateValue == null) {
                    dateValue = Date.parseSchemaDate(dateValue);
                }
    should be
    Code:
                // support being passed a full datetime string as well
                if (dateValue == null) {
                    dateValue = Date.parseSchemaDate(value);
                }

    #2
    Thanks for pointing this out - we've applied this fix to our mainline code base - it'll show up in builds from this point on.

    Comment


      #3
      Thank you. It's working now and with this fix I won't have to change my server side code :-)

      Comment

      Working...
      X