Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.2 Family
-
None
-
Windows XP SP2, IBM Think Centre
-
Patch
Description
Taking a look at the FormTag code (precisely, the renderFocusJavascript() method), I found this:
// xhtml script content shouldn't use the browser hiding trick
if (!this.isXhtml())
I guess the if statement should be the opposite, since we need javascript code inside <!-- ... --> for xhtml compliance, don't we?
Also, the following snippet doesn't need the !this.isXhtml() check...
if (!this.isXhtml() && this.scriptLanguage)
{ results.append(" language=\"JavaScript\""); }Regards, Tedy.
Attachments
Issue Links
- is related to
-
STR-2232 html:form focus generates non-XHTML
- Resolved