[ofbiz-framework] branch trunk updated: Fixed: Error when rendering renderSubmitField macro (OFBIZ-11968)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: Error when rendering renderSubmitField macro (OFBIZ-11968)

James Yong-2
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.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 796e0d9  Fixed: Error when rendering renderSubmitField macro (OFBIZ-11968)
796e0d9 is described below

commit 796e0d94ee96d537713855a98cda38345dc40d28
Author: James Yong <[hidden email]>
AuthorDate: Fri Aug 21 15:44:39 2020 +0800

    Fixed: Error when rendering renderSubmitField macro (OFBIZ-11968)
   
    Fixed error rendering renderSubmitField when accessing /humanres/control/FindPartySkills page
---
 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 b174450..9b0f31a 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">