Author: kien_nguyen
Date: 2010-08-23 04:27:52 -0400 (Mon, 23 Aug 2010)
New Revision: 3884
Modified:
portal/branches/branched-r3845/webui/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl
Log:
GTNPORTAL-1427 Need a scrollbar in the adding of gadget popup in the Dashboard
Modified:
portal/branches/branched-r3845/webui/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl
===================================================================
---
portal/branches/branched-r3845/webui/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl 2010-08-23
03:03:17 UTC (rev 3883)
+++
portal/branches/branched-r3845/webui/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl 2010-08-23
08:27:52 UTC (rev 3884)
@@ -36,6 +36,9 @@
<%
List lstGadgets = uicomponent.getGadgetsOfCategory(category);
if(lstGadgets != null){
+ if(lstGadgets.size() >= 20)
+ uiPopup.setWindowSize(-1, 600);
+
for(gadget in lstGadgets){
%>
<div class="UIGadget SelectItem Item"
id="${gadget.getId()}" style="top:0px; left:0px;">