- Timestamp:
- 08/06/12 18:17:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js
r6945 r6951 2741 2741 } 2742 2742 2743 function show_modal_import_export(tab, calendarId ){2743 function show_modal_import_export(tab, calendarId, typeView){ 2744 2744 $('.qtip.qtip-blue').remove(); 2745 2745 DataLayer.render( 'templates/import_export.ejs', { 2746 calendars: Calendar.calendars,2746 calendars: typeView == 0 ? Calendar.calendars : Calendar.groups, 2747 2747 owner: User.me.id 2748 2748 }, function( html ){ … … 2750 2750 if (!UI.dialogs.importCalendar) { 2751 2751 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>') 2753 2753 .find('.import-export-win.active').html(html).dialog({ 2754 2754 resizable: false,
Note: See TracChangeset
for help on using the changeset viewer.