Ignore:
Timestamp:
08/06/12 18:17:24 (12 years ago)
Author:
acoutinho
Message:

Ticket #2966 - Suporte a importacao e exportacao de tarefas / correcoes de bugs

File:
1 edited

Legend:

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

    r6945 r6951  
    27412741} 
    27422742 
    2743 function show_modal_import_export(tab, calendarId) { 
     2743function show_modal_import_export(tab, calendarId, typeView){ 
    27442744    $('.qtip.qtip-blue').remove(); 
    27452745    DataLayer.render( 'templates/import_export.ejs', { 
    2746         calendars: Calendar.calendars,  
     2746        calendars: typeView == 0 ? Calendar.calendars : Calendar.groups,  
    27472747        owner: User.me.id 
    27482748        }, function( html ){ 
     
    27502750        if (!UI.dialogs.importCalendar) { 
    27512751            UI.dialogs.importCalendar = jQuery('#div-import-export-calendar') 
    2752             .append('<div title="Importar e Exportar Eventos" class="import-export import-export-win active"> <div>') 
     2752            .append('<div title="Importar e Exportar "' + (typeView == 0 ? 'Eventos' : 'Tarefas') + '" class="import-export import-export-win active"> <div>') 
    27532753            .find('.import-export-win.active').html(html).dialog({ 
    27542754                resizable: false,  
Note: See TracChangeset for help on using the changeset viewer.