Changeset 8021 for branches/2.5/prototype/modules/calendar/js/helpers.js
- Timestamp:
- 03/15/13 17:59:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/prototype/modules/calendar/js/helpers.js
r7994 r8021 156 156 function printEvents(){ 157 157 //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(); 159 159 160 160 $('.fc-header-right').find('.fc-button-year').toggleClass('fc-corner-right'); 161 161 print.addClass('fc-corner-right'); 162 162 print.addClass('fc-button-print'); 163 print.removeClass('fc-button- agendaDay');163 print.removeClass('fc-button-year'); 164 164 print.removeClass('fc-corner-left'); 165 print.removeClass('fc-state-active'); 165 166 print.find('.fc-button-content').html('Imprimir'); 166 167 $('.fc-header-right').append(print); … … 2425 2426 $(this).addClass('fc-state-hover'); 2426 2427 }, 2428 2427 2429 function(){ 2428 2430 $(this).removeClass('fc-state-hover'); … … 2490 2492 $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-today').remove(); 2491 2493 $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-basicWeek').remove(); 2492 $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-basicDay').remove ();2494 $(currentView+' .events-list.events-list-win.active .fc-header .fc-button-basicDay').removeClass("fc-button-basicDay").addClass('fc-button-agendaDay'); 2493 2495 2494 2496 //Adiciona e remove as classes para esta visualizacao
Note: See TracChangeset
for help on using the changeset viewer.