Ticket #787 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Typo in validation3.js (?)

Reported by: rojaro Owned by: xue
Priority: normal Milestone: 3.1.2
Component: Prado Framework v3 Version: 3.1
Severity: minor Keywords:
Cc:

Description

I am not 100% sure about this, as i am not a javascript expert, but i believe there is a typo in the validate function in file validation3.js. Line 88 reads:

throw new Error("Form '"+form+"' is not registered with Prado.Validation");

while it should read

throw new Error("Form '"+formID+"' is not registered with Prado.Validation");

as there is no variable 'form' defined.

Greetings from Hamburg - rojaro -

Change History

Changed 9 months ago by maddin

That's right. The solution is also posted by rojaro and just has to be put into SVN1

Changed 9 months ago by tof06

  • status changed from new to closed
  • resolution set to fixed

Thanks

Note: See TracTickets for help on using tickets.