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 2014/01/10 17:43:40 UTC

svn commit: r1557185 - /ofbiz/trunk/framework/widget/templates/htmlMenuMacroLibrary.ftl

Author: jleroux
Date: Fri Jan 10 16:43:39 2014
New Revision: 1557185

URL: http://svn.apache.org/r1557185
Log:
Fixes a typo introduced at r1553887 for "NPE thrown out while rendering disabled menu item" https://issues.apache.org/jira/browse/OFBIZ-5451
Spotted by Olivier

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

Modified: ofbiz/trunk/framework/widget/templates/htmlMenuMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlMenuMacroLibrary.ftl?rev=1557185&r1=1557184&r2=1557185&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlMenuMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlMenuMacroLibrary.ftl Fri Jan 10 16:43:39 2014
@@ -54,7 +54,7 @@ under the License.
     </#list>
 </form><#rt/>
   </#if>
-<#if linkType?has_content>
+<#if linkUrl?has_content>
 <a<#if id?has_content> id="${id}"</#if><#if style?has_content> class="${style}"</#if><#if name?has_content> name="${name}"</#if><#if targetWindow?has_content> target="${targetWindow}"</#if> href="<#if "hidden-form"==linkType>javascript:document.${uniqueItemName}.submit()<#else>${linkUrl}</#if>"><#rt/>
 </#if>
 <#if imgStr?has_content>${imgStr}</#if><#if text?has_content>${text}</#if><#rt/>