Ignore:
Timestamp:
03/05/13 18:13:47 (12 years ago)
Author:
douglas
Message:

Ticket #3370 - Corrigido duplicacao de repeticao em compartilhamento de eventos

Location:
branches/2.5/prototype/modules/calendar/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/prototype/modules/calendar/js/calendar.codecs.js

    r7938 r7965  
    18541854                                allDay: parseInt( evt.allDay ), 
    18551855                                isRepeat: isRepeat, 
    1856                                 occurrence: i, 
     1856                                occurrence: occurrences[i], 
    18571857                                type: typeEvent, 
    18581858                                calendar: evt.calendar 
  • branches/2.5/prototype/modules/calendar/js/helpers.js

    r7938 r7965  
    19811981} 
    19821982 
    1983 function mount_exception(eventID, idException){ 
     1983function mount_exception(eventID, exception){ 
    19841984 
    19851985    getSchedulable( eventID.toString() , ''); 
     
    19901990    edit.repeat.endTime = parseInt(edit.repeat.count) > 0 ? '0' : new Date(parseInt(edit.repeat.endTime)).toString('yyyy-MM-dd HH:mm:00'); 
    19911991     
    1992     edit.repeat.exceptions = (schedulable.occurrences[idException]);          
     1992    edit.repeat.exceptions = ( exception ); 
    19931993     
    19941994    return edit.repeat; 
    1995  
    19961995} 
    19971996 
Note: See TracChangeset for help on using the changeset viewer.