Changeset 7075 for trunk/prototype/modules/calendar/js/calendar.codecs.js
- Timestamp:
- 08/21/12 09:17:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/calendar.codecs.js
r7068 r7075 85 85 borderColor: '#' + signature.borderColor || User.preferences.borderColor, 86 86 textColor: '#' + signature.fontColor || User.preferences.fontColor, 87 87 className: [], 88 88 editable: signature.isOwner 89 89 } … … 607 607 endHour: dateCalendar.formatDate(Timezone.getDateEvent(new Date(parseInt(objEvent.endTime)), objEvent.timezone, objEvent.calendar, objEvent.DayLigth, 'endTime'), User.preferences.hourFormat), 608 608 allDay: !!parseInt( objEvent.allDay ), 609 dueDate: objEvent.dueDate, 610 dueTime: objEvent.dueTime, 611 priority: objEvent.priority, 609 612 attachments: $.map(objEvent.attachments || [], function( attachment, i ){ 610 613 var attach = DataLayer.get('schedulableToAttachment', attachment, false); … … 879 882 }), 880 883 organizer: participantInfo.organizer || me, 881 isOrganizer: (participantInfo.organizer || me).id == me.id,884 isOrganizer: (participantInfo.organizer || me).id == me.id, 882 885 alarms: !!participantInfo.user ? participantInfo.user.alarms : [], 883 886 status: !!participantInfo.user ? participantInfo.user.status : 1, … … 1005 1008 return { 1006 1009 id: objEvent.id, 1010 summary: objEvent.summary, 1007 1011 description: !!objEvent.summary ? objEvent.summary : objEvent.description, 1008 1012 startDate: new Date( parseInt(objEvent.startTime) ).setTimezoneOffset( Timezone.timezone( objEvent.timezone ) ).toString( User.preferences.dateFormat ), … … 1014 1018 allDay: !!parseInt( objEvent.allDay ), 1015 1019 percentage: (objEvent.percentage) ? objEvent.percentage : '0', 1016 status: objEvent.status 1020 status: objEvent.status, 1021 priority: objEvent.priority 1017 1022 } 1018 1023 }); … … 1137 1142 endDate: new Date( parseInt(task.endTime) - (!!parseInt(task.allDay) ? 86400000 : 0) ).setTimezoneOffset( Timezone.timezone( task.timezone ) ).toString( User.preferences.dateFormat ), 1138 1143 endHour: dateCalendar.formatDate(Timezone.getDateEvent(new Date(parseInt(task.endTime)), task.timezone, obj.calendar, obj.DayLigth, 'endTime'), User.preferences.hourFormat), 1139 status: task.status, 1140 percentage: task.percentage 1144 status: task.status, 1145 percentage: task.percentage, 1146 priority: task.priority, 1147 summary: task.summary 1141 1148 } 1142 1149 … … 1339 1346 type: 1, 1340 1347 category: form.category, 1348 priority: form.priority, 1341 1349 summary: form.summary == '' ? 'Evento sem título' : form.summary, 1342 1350 description: form.description,
Note: See TracChangeset
for help on using the changeset viewer.