Ignore:
Timestamp:
02/06/09 17:13:58 (15 years ago)
Author:
niltonneto
Message:

IMportação de compromisso pelo Expressomail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.boicalendar.inc.php

    r60 r678  
    29462946                } 
    29472947 
    2948                 function import($mime_msg='') 
     2948                function import($mime_msg='', $from_ajax = false) 
    29492949                { 
    29502950                        if($_FILES['uploadedfile']['tmp_name'] != 'none' && $_FILES['uploadedfile']['tmp_name'] != '') 
     
    33043304                                } 
    33053305                        } 
    3306                         Header('Location: '.$GLOBALS['phpgw']->link('/index.php', 
     3306                        if(!$from_ajax) { 
     3307                                Header('Location: '.$GLOBALS['phpgw']->link('/index.php', 
    33073308                                        Array( 
    33083309                                                'menuaction'    => 'calendar.uicalendar.view', 
    33093310                                                'cal_id'        => $event['id'] 
    3310                                         ) 
    3311                                 ) 
    3312                         ); 
    3313                         $GLOBALS['phpgw']->common->phpgw_exit(); 
     3311                                                ) 
     3312                                        ) 
     3313                                ); 
     3314                                $GLOBALS['phpgw']->common->phpgw_exit();                                 
     3315                        } 
     3316                        else  
     3317                                return true; 
    33143318                } 
    33153319 
Note: See TracChangeset for help on using the changeset viewer.