Ignore:
Timestamp:
07/26/12 16:00:19 (12 years ago)
Author:
marcieli
Message:

Ticket #2966 - Atualizada listagem de eventos/tarefas/atividades ao atualizar/excluir.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js

    r6883 r6885  
    20692069                    delete Calendar.currentViewKey; 
    20702070                    Calendar.load(); 
    2071                     refresh_calendars(); 
     2071                    refresh_calendars(type); 
    20722072                }); 
    20732073            } 
     
    20782078} 
    20792079 
    2080 function refresh_calendars(){ 
     2080function refresh_calendars(type){ 
    20812081 
    20822082    var colorsSuggestions = colors_suggestions(); 
     
    23082308                 
    23092309    $('.calendar-view').click(function(evt){ 
    2310         if($tabs.tabs('option' ,'selected') == 1){ 
    2311             pageselectCallback('', 0); 
     2310        if($tabs.tabs('option' ,'selected') != 0){ 
     2311            pageselectCallback('', 0, false, type); 
    23122312        } 
    23132313                         
     
    25662566function pageselectCallback(keyword, page_index, view, type){ 
    25672567    $('.qtip.qtip-blue').remove(); 
    2568          
    25692568        var tab_selector = ['tab_events_list_', 'tab_tasks_list_', 'tab_all_list_']; 
    25702569        var tab_title = ['Lista de eventos', 'Lista de tarefas']; 
     
    26252624                                var eventId = $(this).siblings('[name="eventid"]').val(); 
    26262625                                var calendarId = $(this).siblings('[name="calendarid"]').val(); 
    2627  
    26282626                                remove_event(eventId, calendarId); 
    26292627                        }) 
Note: See TracChangeset for help on using the changeset viewer.