diff --git a/calendar/inc/class.ajaxcalendar.inc.php b/calendar/inc/class.ajaxcalendar.inc.php index fe0ab3d709..c614a5b5a7 100644 --- a/calendar/inc/class.ajaxcalendar.inc.php +++ b/calendar/inc/class.ajaxcalendar.inc.php @@ -66,7 +66,7 @@ class ajaxcalendar { { $response->addScriptCall( 'egw_openWindowCentered2', - 'http://localhost/egroupware/index.php?menuaction=calendar.uiforms.edit + $GLOBALS['egw_info']['server']['webserver_url'].'/index.php?menuaction=calendar.uiforms.edit &cal_id='.$event['id'] .'&start='.$event['start'] .'&end='.$event['end']