Changeset 7524


Ignore:
Timestamp:
11/14/12 17:08:32 (8 years ago)
Author:
gustavo
Message:

Ticket #3194 - Inconsistência na exibição da Agenda por semana e diaria no lado esquerdo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/js/init.js

    r7163 r7524  
    315315 
    316316                header: { 
    317                         left: 'prev,next today,basicWeek,basicDay', 
     317                        left: 'prev,next today,agendaWeek,agendaDay', 
    318318                        center: 'title', 
    319319                        right: 'agendaDay,agendaWeek,month,year' 
     
    505505                } 
    506506        }, dateCalendar));       
    507                  
     507 
     508        $('#calendar .fc-header-left .fc-button-agendaWeek, #calendar .fc-header-left .fc-button-agendaDay').click(function(){ 
     509                $(this).parent().find(".fc-button-today").click(); 
     510        }); 
    508511                 
    509512        contentMenu(); 
Note: See TracChangeset for help on using the changeset viewer.