Changeset 6295 for trunk/prototype/modules/calendar/js/calendar.codecs.js
- Timestamp:
- 05/24/12 16:26:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/calendar.codecs.js
r6286 r6295 656 656 }) 657 657 }; 658 me .id = attend.id;658 me = attend; 659 659 return(null); 660 660 }; … … 685 685 alarms: !!participantInfo.user ? participantInfo.user.alarms : [], 686 686 status: !!participantInfo.user ? participantInfo.user.status : 1, 687 acl: isShared ? constantAcl(Calendar.signatureOf[objEvent.calendar].permission.aclValues) : (!!participantInfo.user ? constantAcl(participantInfo.user.acl) : ( ( !objEvent.id || isAttendee ) ? constantAcl( 'rowi' ) : constantAcl( 'r' ))),687 acl: constantAcl(me.acl || 'roiw'), 688 688 isShared: isShared, 689 689 isAttendee: (isAttendee ? true : (objEvent.id && isShared ? false : true)), 690 me: ((!objEvent.id) || ( objEvent.id && isAttendee)) ? (!!participantInfo.user ? DataLayer.merge(participantInfo.user, me) : DataLayer.merge(isShared ? participantInfo.organizer : me, { 691 acl: !isShared ? 'rowi' : Calendar.signatureOf[objEvent.calendar].permission.aclValues, 692 delegatedFrom: 0, 693 receiveNotification: 1 694 })) : (DataLayer.merge( ( participantInfo.organizer || me), { 695 acl: 'r' 696 } ) ), 690 me: me, 697 691 delegatedFrom: delegatedFrom, 698 699 692 statusParticipants: statusParticipants 700 693 };
Note: See TracChangeset
for help on using the changeset viewer.