From d8baf26635d3b47c983a423b427920f0b60b3571 Mon Sep 17 00:00:00 2001 From: "Alan J. Pippin" Date: Wed, 30 Jan 2008 07:50:47 -0700 Subject: [PATCH] Changed reference to create jsCalendar to be our own local class. This was done to fix the issue with the base phpgroupware phpgwapi doing away with the "setup" parameter to the calendar which we rely on for inputing our dates properly into SQL. --- inc/class.eq.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php index 74c79ed..4d129a1 100644 --- a/inc/class.eq.inc.php +++ b/inc/class.eq.inc.php @@ -91,7 +91,7 @@ class eq $this->grants = $GLOBALS['phpgw']->acl->get_grants('eq'); $this->grants[$this->account] = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE; - $this->jscal = CreateObject('phpgwapi.jscalendar'); // before phpgw_header() !!! + $this->jscal = CreateObject('eq.jscalendar'); // before phpgw_header() !!! $this->cal_options = 'daFormat : "%Y-%m-%d", ifFormat : "%Y-%m-%d", mondayFirst : false, -- 2.34.1