Author: bibryam
Date: Thu Sep 18 08:44:55 2008
New Revision: 696677
URL:
http://svn.apache.org/viewvc?rev=696677&view=revLog:
Fixed a bug in calendar screen, reported by ChristopherJ in user list.
Modified:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy
Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy?rev=696677&r1=696676&r2=696677&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy (original)
+++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/routing/EditCalendar.groovy Thu Sep 18 08:44:55 2008
@@ -33,7 +33,12 @@
}
calendarData = context.techDataCalendar;
-if (!tryEntity) calendarData = requestParams ?: [:];
+if (!tryEntity) {
+ calendarData = requestParams ?: [:];
+}
+if (!calendarData) {
+ calendarData = [:];
+}
context.calendarData = calendarData;
allCalendarWeek = delegator.findList("TechDataCalendarWeek", null, null, null, null, false);