[2010-12-03 20:41:54] Rev:640 | 1 files Modified

hugo: Start Case process Info display calendar working days
--------------------------------------------------------------------------------
1. M /trunk/workflow/engine/templates/cases/casesStartPage.js
This commit is contained in:
Erik Amaru Ortiz
2010-12-09 13:22:14 +00:00
parent 32b00a6503
commit fd5b5d9a25

View File

@@ -907,15 +907,18 @@ Ext.extend(
otherAttributes = selectedNode.attributes.otherAttributes;
calendarDays=(otherAttributes.CALENDAR_WORK_DAYS).split("|");
calendarObj={};
for(i=0;i<calendarDays.length;i++){
calendarObj[calendarDays[i]]=true;
}
Ext.getCmp('process-detail-panel').getForm().setValues({
processName : otherAttributes.PRO_TITLE,
taskName : selectedNode.attributes.text,
calendarName : otherAttributes.CALENDAR_NAME,
calendarDescription : otherAttributes.CALENDAR_DESCRIPTION,
processCalendar:otherAttributes.CALENDAR_NAME+" "+otherAttributes.CALENDAR_DESCRIPTION,
calendarWorkDays : (otherAttributes.CALENDAR_WORK_DAYS).split("|"),
calendarWorkDays : calendarObj,/*(otherAttributes.CALENDAR_WORK_DAYS).split("|"),*/
processCategory : otherAttributes.PRO_CATEGORY_LABEL,
processDebug : otherAttributes.PRO_DEBUG,
processDescription : otherAttributes.PRO_DESCRIPTION,