From 072cb725f27879b2695401080b3e730fbbe2a029 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 12 Dec 2018 20:13:21 +0100 Subject: [PATCH] WW-4964 Drops duplicated import of utils.js it should be already imported using --- core/src/main/resources/template/xhtml/form-validate.ftl | 1 - .../resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt | 1 - .../test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt | 1 - .../resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt | 1 - .../resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt | 1 - 5 files changed, 5 deletions(-) diff --git a/core/src/main/resources/template/xhtml/form-validate.ftl b/core/src/main/resources/template/xhtml/form-validate.ftl index 2d140b7cc..5a65e0c0f 100644 --- a/core/src/main/resources/template/xhtml/form-validate.ftl +++ b/core/src/main/resources/template/xhtml/form-validate.ftl @@ -20,7 +20,6 @@ --> <#if parameters.validate!false == true> - <#if parameters.onsubmit??> ${tag.addParameter('onsubmit', "${parameters.onsubmit}; return validateForm_${parameters.id?replace('[^a-zA-Z0-9_]', '_', 'r')}();")} <#else> diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt index efb3596b5..ca4358a65 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-11.txt @@ -1,5 +1,4 @@ -
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt index 62d566c43..99ea36859 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-2.txt @@ -1,5 +1,4 @@ -
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt index 136dc15c6..c03ae9d78 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-22.txt @@ -1,5 +1,4 @@ -
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt index a27432a4b..b6178cd99 100644 --- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt +++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-24.txt @@ -1,5 +1,4 @@ -