You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by sa...@apache.org on 2012/07/04 08:24:58 UTC

svn commit: r1357098 - /ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl

Author: sascharodekamp
Date: Wed Jul  4 06:24:57 2012
New Revision: 1357098

URL: http://svn.apache.org/viewvc?rev=1357098&view=rev
Log:
Lookup filed with target-parameter attribute set cannot be displayed (https://issues.apache.org/jira/browse/OFBIZ-4950) A patch from Leon: if <lookup> field has attribute "target-parameter" set, then there's javascript error in front end and lookup icon disappears.

Modified:
    ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl

Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=1357098&r1=1357097&r2=1357098&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Wed Jul  4 06:24:57 2012
@@ -673,7 +673,7 @@ Parameter: lastViewName, String, optiona
 				args : <#rt/>
 					    <#if targetParameterIter?has_content>
 						    <#assign isFirst = true>
-						    <#lt/>, [<#rt/>
+						    <#lt/>[<#rt/>
 						    <#list targetParameterIter as item>
 						      <#if isFirst>
 						          <#lt/>document.${formName}.${item}<#rt/>