Ticket #1002158: Dashboard Columns - Bug

This commit is contained in:
Elaine Tan 2013-01-21 19:30:35 +08:00
parent b0fe14d87e
commit 11e8a2a0ed
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class DashboardController implements EventListener<Event> {
dps = MDashboardPreference.getForSession(isShowInDashboard, AD_User_ID, AD_Role_ID); // based on user and role dps = MDashboardPreference.getForSession(isShowInDashboard, AD_User_ID, AD_Role_ID); // based on user and role
noOfCols = MDashboardPreference.getForSessionColumnCount(isShowInDashboard, AD_User_ID, AD_Role_ID); noOfCols = MDashboardPreference.getForSessionColumnCount(isShowInDashboard, AD_User_ID, AD_Role_ID);
int dashboardWidth = isShowInDashboard ? 98 : 99; int dashboardWidth = isShowInDashboard ? 95 : 100;
width = noOfCols <= 0 ? dashboardWidth : dashboardWidth / noOfCols; width = noOfCols <= 0 ? dashboardWidth : dashboardWidth / noOfCols;
int useWidth = 0; int useWidth = 0;
for (final MDashboardPreference dp : dps) for (final MDashboardPreference dp : dps)