Ignore:
Timestamp:
03/15/13 14:41:09 (11 years ago)
Author:
eduardow
Message:

Ticket #3392 - Preferencia para que a visualizacao diaria fique sem as horas

File:
1 edited

Legend:

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

    r8018 r8020  
    156156function printEvents(){ 
    157157        //var html = DataLayer.render( path + 'templates/attendee_permissions.ejs', {} ); 
    158         var print = $('.fc-header-right').find('.fc-button.fc-button-agendaDay').clone(); 
     158        var print = $('.fc-header-right').find('.fc-button.fc-button-year').clone(); 
    159159 
    160160        $('.fc-header-right').find('.fc-button-year').toggleClass('fc-corner-right'); 
    161161        print.addClass('fc-corner-right'); 
    162162        print.addClass('fc-button-print'); 
    163         print.removeClass('fc-button-agendaDay'); 
     163        print.removeClass('fc-button-year'); 
    164164        print.removeClass('fc-corner-left'); 
     165        print.removeClass('fc-state-active'); 
    165166        print.find('.fc-button-content').html('Imprimir'); 
    166167        $('.fc-header-right').append(print); 
     
    25482549            $(this).addClass('fc-state-hover'); 
    25492550        }, 
     2551 
    25502552        function(){ 
    25512553            $(this).removeClass('fc-state-hover'); 
     
    26132615    $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-today').remove(); 
    26142616    $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-basicWeek').remove(); 
    2615     $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-basicDay').remove();                       
     2617    $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-basicDay').removeClass("fc-button-basicDay").addClass('fc-button-agendaDay');                      
    26162618                 
    26172619    //Adiciona e remove as classes para esta visualizacao 
Note: See TracChangeset for help on using the changeset viewer.