DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37685>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37685 Summary: Javascript tag does not work on Mozilla Product: Struts Version: 1.2.8 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P1 Component: Custom Tags AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] To checks that validation succeeded, org.apache.struts.taglib.html.JavascriptValidatorTag writes this code: "return (formValidationResult == 1);" But on Mozilla 1.7.11, this return false if formValidationResult == true. This code should be replaced by "return (formValidationResult === true);" To check this try this code on different browsers: <html> <head> <script language="Javascript1.2" > function test() { var test = (2==2) && (1 == 1); alert('test='+test); alert('test==1'+(test==1)); alert('test===true'+(test===true)); } </script> </head> <body onload="test()"> <P>Here</P> </body> </html> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
