Author: hfnukal
Date: 2011-07-04 11:13:37 -0400 (Mon, 04 Jul 2011)
New Revision: 6809
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UILogoPortlet.gtmpl
Log:
JBEPP-900 Chrome - processAction methods are called twice when url is empty in logo
portlet
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UILogoPortlet.gtmpl
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UILogoPortlet.gtmpl 2011-07-04
13:55:57 UTC (rev 6808)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UILogoPortlet.gtmpl 2011-07-04
15:13:37 UTC (rev 6809)
@@ -18,7 +18,15 @@
<div class="UILogoPortlet ClearFix" id="$uicomponent.id" >
<%if( _ctx.getRequestContext().getApplicationMode() == PortletMode.VIEW) {%>
<!-- LOGO IMAGE -->
- <a href="#" class="Img"><image
src="<%=uicomponent.getURL()%>" alt="" /></a>
+ <a href="#" class="Img">
+ <%
+ String imgURL = uicomponent.getURL();
+ if (imgURL != "")
+ {
+ print """<img src="$imgURL"
/>""";
+ }
+ %>
+ </a>
<div class="BannerTitle">$navTitle</div>
<!-- ACTIONs -->
<% if(prContext.getRemoteUser() == null) { %>
Show replies by date