Changed reference to create jsCalendar to be our own local class.
authorAlan J. Pippin <ajp@server.pippins.net>
Wed, 30 Jan 2008 14:50:47 +0000 (07:50 -0700)
committerAlan J. Pippin <ajp@pippins.net>
Wed, 30 Jan 2008 14:50:47 +0000 (07:50 -0700)
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

index 74c79edff516477d2225768e4f111a61f4559f34..4d129a1dba9be738f21f2e494715791c953014cf 100644 (file)
@@ -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,