Author: ashish
Date: Sat Aug 27 11:08:52 2016
New Revision: 1757990

URL: http://svn.apache.org/viewvc?rev=1757990&view=rev
Log:
Applied patch from jira issue - OFBIZ-7819. Empty link icon shown in Search 
results of Find screens.
Thanks Akshay for the contribution.

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=1757990&r1=1757989&r2=1757990&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/HtmlFormMacroLibrary.ftl Sat Aug 27 
11:08:52 2016
@@ -909,7 +909,7 @@ Parameter: tabindex, String, optional -
             });
         </script>
     <#else>
-    <a <#if linkStyle?has_content>class="${linkStyle}"</#if> 
+    <a <#if linkStyle?has_content && (description?has_content || 
imgSrc?has_content)>class="${linkStyle}"</#if>  
       href="${linkUrl}"<#if targetWindow?has_content> 
target="${targetWindow}"</#if>
       <#if action?has_content && event?has_content> ${event}="${action}"</#if>
       <#if confirmation?has_content> onclick="return 
confirm('${confirmation?js_string}')"</#if>


Reply via email to