You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/03/07 18:43:39 UTC
svn commit: r1785865 -
/ofbiz/ofbiz-framework/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl
Author: jleroux
Date: Tue Mar 7 18:43:39 2017
New Revision: 1785865
URL: http://svn.apache.org/viewvc?rev=1785865&view=rev
Log:
No functional change, just a comment
context is always null here. It misled me , so I prefer to put a comment
Modified:
ofbiz/ofbiz-framework/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl
Modified: ofbiz/ofbiz-framework/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl?rev=1785865&r1=1785864&r2=1785865&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl Tue Mar 7 18:43:39 2017
@@ -633,7 +633,7 @@ Parameter: lastViewName, String, optiona
Parameter: tabindex, String, optional - HTML tabindex number.
-->
<#macro renderLookupField name formName fieldFormName className="" alert="false" value="" size="" maxlength="" id="" event="" action="" readonly=false autocomplete="" descriptionFieldName="" targetParameterIter="" imgSrc="" ajaxUrl="" ajaxEnabled=javaScriptEnabled presentation="layer" width="" height="" position="" fadeBackground="true" clearText="" showDescription="" initiallyCollapsed="" lastViewName="main" tabindex="">
- <#if Static["org.apache.ofbiz.widget.model.ModelWidget"].widgetBoundaryCommentsEnabled(context)>
+ <#if Static["org.apache.ofbiz.widget.model.ModelWidget"].widgetBoundaryCommentsEnabled(context)><#-- context is always null here, but this is handled in widgetBoundaryCommentsEnabled -->
<!-- @renderLookupField -->
</#if>
<#if (!ajaxUrl?has_content) && ajaxEnabled?has_content && ajaxEnabled>