Author: jholmes
Date: Tue Aug 14 06:45:49 2007
New Revision: 565752

URL: http://svn.apache.org/viewvc?view=rev&rev=565752
Log:
WW-1761 templates don't specify type="text/javascript"; break W3C validation

Fixed issue of extra type="text/javascript" that was added during the fix for 
the original opening of the WW-1761 ticket.

Modified:
    
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/css_xhtml/form-validate.ftl

Modified: 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/css_xhtml/form-validate.ftl
URL: 
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/css_xhtml/form-validate.ftl?view=diff&rev=565752&r1=565751&r2=565752
==============================================================================
--- 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/css_xhtml/form-validate.ftl
 (original)
+++ 
struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/template/css_xhtml/form-validate.ftl
 Tue Aug 14 06:45:49 2007
@@ -21,7 +21,7 @@
  */
 -->
 <#if parameters.validate?default(false) == true>
-<script type="text/javascript" src="${base}/struts/css_xhtml/validation.js" 
type="text/javascript"></script>
+<script type="text/javascript" 
src="${base}/struts/css_xhtml/validation.js"></script>
     <#if parameters.onsubmit?exists>
         ${tag.addParameter('onsubmit', "${parameters.onsubmit}; return 
validateForm_${parameters.id}();")}
     <#else>


Reply via email to