[gatein-commits] gatein SVN: r4910 - portal/branches/branch-GTNPORTAL-1592/web/portal/src/main/webapp/groovy/webui/core.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Nov 2 22:43:24 EDT 2010


Author: ndkhoiits
Date: 2010-11-02 22:43:23 -0400 (Tue, 02 Nov 2010)
New Revision: 4910

Modified:
   portal/branches/branch-GTNPORTAL-1592/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl
Log:
GTNPORTAL-1617 Allows show or hide the close button on UIPopupWindow

Modified: portal/branches/branch-GTNPORTAL-1592/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl
===================================================================
--- portal/branches/branch-GTNPORTAL-1592/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl	2010-11-03 01:37:18 UTC (rev 4909)
+++ portal/branches/branch-GTNPORTAL-1592/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl	2010-11-03 02:43:23 UTC (rev 4910)
@@ -39,7 +39,7 @@
 				<div class="TopCenterDecorator">
 					<div class="OverflowContainer">
 						<div class="PopupTitleIcon"><span></span></div>
-						<%if( true) {%>
+						<%if (showCloseButton) {%>
 							<!-- <div class="CloseButton" title="Close Window" onclick="<%=uicomponent.event("ClosePopup")%>"><span></span></div> -->
 							<div class="CloseButton" title="<%=_ctx.appRes("UIPopupWindow.Close")%>" onclick="<%=uicomponent.event(uicomponent.getCloseEvent())%>"><span></span></div>
 						<% } else { %>



More information about the gatein-commits mailing list