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 eb4f082  Fixed: Error in log when running renderDropDownField macro 
(OFBIZ-11959)
eb4f082 is described below

commit eb4f082fef5ba9e9a56c2ec7a2678952372844f3
Author: James Yong <jamesy...@apache.org>
AuthorDate: Sat Aug 15 20:01:29 2020 +0800

    Fixed: Error in log when running renderDropDownField macro (OFBIZ-11959)
    
    Fixed unable to render the disable attribute.
---
 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 ea4763d..aa7bf74 100644
--- a/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
+++ b/themes/common-theme/template/macro/HtmlFormMacroLibrary.ftl
@@ -147,7 +147,7 @@ under the License.
     <input type="hidden" name="${name}_grp" value="${conditionGroup}"/>
   </#if>
   <span class="ui-widget">
-    <select name="${name?default("")}<#rt/>" <@renderClass className alert 
/><#if id?has_content> id="${id}"</#if><#if multiple?has_content> 
multiple="multiple"</#if><#if ajaxEnabled> 
class="autoCompleteDropDown"</#if><#if event?has_content> 
${event}="${action}"</#if><#if size?has_content> size="${size}"</#if><#if 
tabindex?has_content> tabindex="${tabindex}"</#if><#if disabled?has_content && 
disabled> disabled="${disabled}"</#if><#rt/>
+    <select name="${name?default("")}<#rt/>" <@renderClass className alert 
/><#if id?has_content> id="${id}"</#if><#if multiple?has_content> 
multiple="multiple"</#if><#if ajaxEnabled> 
class="autoCompleteDropDown"</#if><#if event?has_content> 
${event}="${action}"</#if><#if size?has_content> size="${size}"</#if><#if 
tabindex?has_content> tabindex="${tabindex}"</#if><#if disabled?has_content && 
disabled> disabled</#if><#rt/>
     <#if otherFieldName?has_content>
     data-other-field-name="${otherFieldName}"
     data-other-field-value='${otherValue?js_string}'

Reply via email to