Changeset 7363 for branches/2.4


Ignore:
Timestamp:
10/08/12 10:15:19 (12 years ago)
Author:
eduardow
Message:

Ticket #3143 - Problema ao copiar Evento ou Tarefa, status dos participantes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/prototype/modules/calendar/js/helpers.js

    r7282 r7363  
    25242524                        ['AND',  
    25252525                            ['>=', 'rangeEnd', rangeStart],  
    2526                             ['<=', 'rangeEnd', rangeEnd] ,  
     2526                            ['<=', 'rangeEnd', rangeEnd] 
    25272527                        ], 
    25282528                        ['AND',  
    25292529                            ['>=', 'rangeStart', rangeStart],  
    2530                             ['<=', 'rangeStart', rangeEnd] ,  
     2530                            ['<=', 'rangeStart', rangeEnd] 
    25312531                        ], 
    25322532                        ['AND',  
    25332533                            ['<=', 'rangeStart', rangeStart],  
    2534                             ['>=', 'rangeEnd', rangeEnd] ,  
     2534                            ['>=', 'rangeEnd', rangeEnd] 
    25352535                        ] 
    25362536                    ], 
     
    27852785         
    27862786    calendar = !!calendar ? calendar : schedulable.calendar; 
     2787 
     2788    owner = decodeOwnerCalendar(calendar); 
    27872789         
    27882790    if(typeof(schedulable) == "array") 
     
    28472849        delete schedulable.participants; 
    28482850                 
     2851        if(schedulable['type'] == '2')  
     2852                delete schedulable['historic']; 
     2853 
    28492854        schedulable.participants =  $.map( participants, function( attendee, i ){ 
    28502855                         
     
    28522857                         
    28532858            if(typeof(participant) == 'array') 
    2854                 participant = participant[0]; 
     2859                                participant = participant[0];  
     2860                  
     2861                if(owner.id != participant.user)  
     2862                    delete participant.status; 
    28552863         
    28562864            delete participant.delegatedFrom; 
Note: See TracChangeset for help on using the changeset viewer.