Changeset 7357 for trunk/prototype/modules
- Timestamp:
- 10/06/12 17:44:33 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/js/helpers.js
r7259 r7357 2524 2524 ['AND', 2525 2525 ['>=', 'rangeEnd', rangeStart], 2526 ['<=', 'rangeEnd', rangeEnd] ,2526 ['<=', 'rangeEnd', rangeEnd] 2527 2527 ], 2528 2528 ['AND', 2529 2529 ['>=', 'rangeStart', rangeStart], 2530 ['<=', 'rangeStart', rangeEnd] ,2530 ['<=', 'rangeStart', rangeEnd] 2531 2531 ], 2532 2532 ['AND', 2533 2533 ['<=', 'rangeStart', rangeStart], 2534 ['>=', 'rangeEnd', rangeEnd] ,2534 ['>=', 'rangeEnd', rangeEnd] 2535 2535 ] 2536 2536 ], … … 2785 2785 2786 2786 calendar = !!calendar ? calendar : schedulable.calendar; 2787 2788 owner = decodeOwnerCalendar(calendar); 2787 2789 2788 2790 if(typeof(schedulable) == "array") … … 2846 2848 var participants = DataLayer.copy(schedulable.participants); 2847 2849 delete schedulable.participants; 2848 2850 2851 if(schedulable['type'] == '2') 2852 delete schedulable['historic']; 2853 2849 2854 schedulable.participants = $.map( participants, function( attendee, i ){ 2850 2855 … … 2852 2857 2853 2858 if(typeof(participant) == 'array') 2854 participant = participant[0]; 2859 participant = participant[0]; 2860 2861 if(owner.id != participant.user) 2862 delete participant.status; 2855 2863 2856 2864 delete participant.delegatedFrom;
Note: See TracChangeset
for help on using the changeset viewer.