Changeset 6862


Ignore:
Timestamp:
07/24/12 11:04:34 (12 years ago)
Author:
eduardow
Message:

Ticket #2979 - Erro ao excluir evento ou participante e abrir e-mail de resposta do participante.

Location:
branches/2.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/js/main.js

    r6838 r6862  
    39983998                                                        var acceptedSuggestion = confirm("Deseja atualizar o evento de acordo com a sugestão ?"); 
    39993999                                                        $.ajax({ 
    4000                                                                 url: "controller.php?action="+import_url+'&from_ajax=true&id_user='+User.me.id+'&selected=true&cirus_delimiter='+cyrus_delimiter+'&acceptedSuggestion='+acceptedSuggestion+"&from="+document.getElementById('from_values_'+currentTab).value, 
     4000                                                                url: "controller.php?action="+import_url+'&from_ajax=true&id_user='+User.me.id+'&selected=true&cirus_delimiter='+cyrus_delimiter+'&acceptedSuggestion='+acceptedSuggestion+"&from="+document.getElementById('from_values_'+currentTab).value+'&uidAccount='+decodeOwner(), 
    40014001                                                                success: function(msg){ 
    40024002                                                                        if(acceptedSuggestion) 
     
    40284028                                                                                 
    40294029                                                                                $.ajax({ 
    4030                                                                                          url: "controller.php?action="+import_url+'&from_ajax=true&selected='+ (parseInt(typeImport) == 2 || parseInt(typeImport) == 4 ? 'true' : $("#select-agenda option:selected").val()) +'&status='+$("#select-status option:selected").val(), 
     4030                                                                                         url: "controller.php?action="+import_url+'&from_ajax=true&cirus_delimiter='+cyrus_delimiter+'&selected='+ (parseInt(typeImport) == 2 || parseInt(typeImport) == 4 ? 'true' : $("#select-agenda option:selected").val()) +'&status='+$("#select-status option:selected").val()+'&uidAccount='+decodeOwner(), 
    40314031                                                                                         success: function(msg){ 
    40324032                                                                                                        alert( ( (msg = connector.unserialize(msg)) == "ok") ? "Atualizado com sucesso para " : "Ocorreu um erro ao atualizar o evento" ); 
  • branches/2.4/prototype/modules/calendar/interceptors/DBMapping.php

    r6754 r6862  
    518518            foreach ($result as $i => $v) { 
    519519 
    520                 if (!isset($currentTimezone) || $currentTimezone != $original['criteria']['timezones'][$v['calendar']]) { 
     520                if ( isset($v['calendar']) && (!isset($currentTimezone) || $currentTimezone != $original['criteria']['timezones'][$v['calendar']])) { 
    521521                    $currentTimezone = isset($original['criteria']['timezones'][$v['calendar']]) ? $original['criteria']['timezones'][$v['calendar']] : $v['timezone']; 
    522522                    $Time->setTimezone(new DateTimeZone($currentTimezone)); 
Note: See TracChangeset for help on using the changeset viewer.