diff --git a/phpgwapi/inc/class.jscalendar.inc.php b/phpgwapi/inc/class.jscalendar.inc.php index 89425655af..c399b260cf 100644 --- a/phpgwapi/inc/class.jscalendar.inc.php +++ b/phpgwapi/inc/class.jscalendar.inc.php @@ -29,14 +29,14 @@ class jscalendar */ function jscalendar($do_header=True) { - $this->phpgwapi_inc_url = $GLOBALS['phpgw_info']['server']['webserver_url'].'/phpgwapi/inc'; + $this->phpgwapi_js_url = $GLOBALS['phpgw_info']['server']['webserver_url'].'/phpgwapi/js'; $this->dateformat = $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']; if ($do_header && !strstr($GLOBALS['phpgw_info']['flags']['java_script'],'jscalendar')) { $GLOBALS['phpgw_info']['flags']['java_script'] .= -' - +' + '; } @@ -75,7 +75,7 @@ class jscalendar return '