Ignore:
Timestamp:
03/11/13 19:39:31 (11 years ago)
Author:
douglas
Message:

Ticket #3382 - Travamento do navegador ao carregar repetições com muitos participantes

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  
    29292929        delete schedulable['historic']; 
    29302930 
    2931     if(parseInt(type) == 3){  
    2932         schedulable.participants = participants;  
    2933     }  
    2934     else  
    2935     {  
    29362931        schedulable.participants =  $.map( participants, function( attendee, i ){  
    29372932  
     
    29502945            participant.id = DataLayer.put('participant', participant);  
    29512946  
    2952             return participant ;  
     2947            return  (parseInt(type) == 3) ? participant.id : participant ;  
    29532948        });  
    2954     }  
    29552949  
    29562950        //Edit ocurrence 
  • branches/2.5/prototype/modules/calendar/js/init.js

    r7982 r7994  
    411411                             
    412412                if(evt.isRepeat){ 
    413                     var schedulable = copyAndMoveTo(false , evt.id , false, "3", evt); 
     413                    var schedulable = copyAndMoveTo(evt.calendar , evt.id , false, "3", evt); 
    414414                                  
    415415                    var repeat = mount_exception(evt.id, evt.occurrence); 
     
    495495                                        $('.calendar-copy-move input[name="typeEvent"]').val("3"); 
    496496                                         
    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); 
    498498                                    }        
    499499                                } 
Note: See TracChangeset for help on using the changeset viewer.