Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
None
-
Operating System: other
Platform: Other
-
20432
Description
I switched from from 20030326 to last night's build today and found that the
JavaScript was rendered incorrectly for client-side validation. The buggy
JavaScript is:
function required ()
{ this.aa = new Array("fullName", "'null' is a required field.", new Function ("varName", " return this[varName];")); this.ab = new Array("phoneNum", "'null' is a required field.", new Function ("varName", " return this[varName];")); this.ac = new Array("msoName", "'null' is a required field.", new Function ("varName", " return this[varName];")); this.ad = new Array("passwordHint", "'null' is a required field.", new Function ("varName", " return this[varName];")); }
With 20030326, it correctly renders as:
function required ()
{ this.aa = new Array("fullName", "'Full Name' is a required field.", new Function ("varName", " return this[varName];")); this.ab = new Array("phoneNum", "'Phone Number' is a required field.", new Function ("varName", " return this[varName];")); this.ac = new Array("msoName", "'MSO Name' is a required field.", new Function ("varName", " return this[varName];")); this.ad = new Array("passwordHint", "'Password Hint' is a required field.", new Function ("varName", " return this[varName];")); }