Changeset 7994 for branches/2.5
- Timestamp:
- 03/11/13 19:39:31 (12 years ago)
- Location:
- branches/2.5/prototype/modules/calendar/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/prototype/modules/calendar/js/helpers.js
r7992 r7994 2929 2929 delete schedulable['historic']; 2930 2930 2931 if(parseInt(type) == 3){2932 schedulable.participants = participants;2933 }2934 else2935 {2936 2931 schedulable.participants = $.map( participants, function( attendee, i ){ 2937 2932 … … 2950 2945 participant.id = DataLayer.put('participant', participant); 2951 2946 2952 return participant ;2947 return (parseInt(type) == 3) ? participant.id : participant ; 2953 2948 }); 2954 }2955 2949 2956 2950 //Edit ocurrence -
branches/2.5/prototype/modules/calendar/js/init.js
r7982 r7994 411 411 412 412 if(evt.isRepeat){ 413 var schedulable = copyAndMoveTo( false, evt.id , false, "3", evt);413 var schedulable = copyAndMoveTo(evt.calendar , evt.id , false, "3", evt); 414 414 415 415 var repeat = mount_exception(evt.id, evt.occurrence); … … 495 495 $('.calendar-copy-move input[name="typeEvent"]').val("3"); 496 496 497 eventDetails(copyAndMoveTo( false, evt.id , false, "3", evt), true, '', false, repeat);497 eventDetails(copyAndMoveTo(evt.calendar , evt.id , false, "3", evt), true, '', false, repeat); 498 498 } 499 499 }
Note: See TracChangeset
for help on using the changeset viewer.