- remove the unecessary customOnsubmit() js function call, cause now we

are using dojo.event.connect to connect the form's onsubmit event, see
  form-close.ftl of the simple theme



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@409957 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Toby Jee
2006-05-28 14:09:09 +00:00
parent 691c00f8ed
commit 52b4d7c9bc
@@ -1,8 +1,8 @@
<#if parameters.validate?default(false) == true>
<script src="${base}/struts/css_xhtml/validation.js" type="text/javascript"></script>
<#if parameters.onsubmit?exists>
${tag.addParameter('onsubmit', "${parameters.onsubmit}; customOnsubmit(); return validateForm_${parameters.id}();")}
${tag.addParameter('onsubmit', "${parameters.onsubmit}; return validateForm_${parameters.id}();")}
<#else>
${tag.addParameter('onsubmit', "customOnsubmit(); return validateForm_${parameters.id}();")}
${tag.addParameter('onsubmit', "return validateForm_${parameters.id}();")}
</#if>
</#if>