Changeset 5415 for trunk/prototype/modules/calendar/js/calendar.codecs.js
- Timestamp:
- 01/24/12 17:22:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/calendar.codecs.js
r5409 r5415 415 415 416 416 if( attend.user.id === me.id ){ 417 participantInfo = {417 participantInfo.user = { 418 418 status : attend.status, 419 419 alarms : $.map(attend.alarms || [], function( alarm ){ … … 422 422 }; 423 423 me.id = attend.id; 424 return(null); 424 425 }; 425 426 … … 433 434 if( !!parseInt(attend.isOrganizer )){ 434 435 isOrganizer = ((attend.user.id == User.me.id) || (!!!attend.user)) ? 1 : 0; 435 participantInfo.organizer = person;436 participantInfo.organizer = DataLayer.copy(person); 436 437 return(null); 437 438 }; … … 440 441 }), 441 442 organizer: participantInfo.organizer || me, 442 alarms: participantInfo.alarms ||[],443 status: participantInfo.status ||1,443 alarms: !!participantInfo.user ? participantInfo.user.alarms : [], 444 status: !!participantInfo.user ? participantInfo.user.status : 1, 444 445 me: me, 445 446 isOrganizer: isOrganizer,
Note: See TracChangeset
for help on using the changeset viewer.