This is an automated email from the ASF dual-hosted git repository.
jamesyong pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new 2eb3282 Reverted: Error when rendering renderSubmitField macro (OFBIZ-11968)
2eb3282 is described below
commit 2eb32829881be4a3ef42d55231ce256773b1bdd5
Author: James Yong <
[hidden email]>
AuthorDate: Sat Aug 22 14:43:00 2020 +0800
Reverted: Error when rendering renderSubmitField macro (OFBIZ-11968)
No issue after new checkout.
Thanks Jacques and Dennis for the check
---
themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
index 9b0f31a..b174450 100644
--- a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
+++ b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
@@ -205,7 +205,7 @@ under the License.
</#list>
</#macro>
-<#macro renderSubmitField buttonType className alert formName action imgSrc ajaxUrl id="" title="" name="" event="" confirmation="" containerId="" tabindex="">
+<#macro renderSubmitField buttonType className alert formName action imgSrc ajaxUrl id title="" name="" event="" confirmation="" containerId="" tabindex="">
<#if buttonType=="text-link">
<a <@renderClass className alert /> href="javascript:document.${formName}.submit()" <#if confirmation?has_content>onclick="return confirm('${confirmation?js_string}');"</#if>><#if title?has_content>${title}</#if> </a>
<#elseif buttonType=="image">