Changeset 678 for trunk/calendar/inc/class.boicalendar.inc.php
- Timestamp:
- 02/06/09 17:13:58 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.boicalendar.inc.php
r60 r678 2946 2946 } 2947 2947 2948 function import($mime_msg='' )2948 function import($mime_msg='', $from_ajax = false) 2949 2949 { 2950 2950 if($_FILES['uploadedfile']['tmp_name'] != 'none' && $_FILES['uploadedfile']['tmp_name'] != '') … … 3304 3304 } 3305 3305 } 3306 Header('Location: '.$GLOBALS['phpgw']->link('/index.php', 3306 if(!$from_ajax) { 3307 Header('Location: '.$GLOBALS['phpgw']->link('/index.php', 3307 3308 Array( 3308 3309 'menuaction' => 'calendar.uicalendar.view', 3309 3310 '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; 3314 3318 } 3315 3319
Note: See TracChangeset
for help on using the changeset viewer.