bugphpGroupWare - Bugs: bug #8739, jscalendar - constructor...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8739: jscalendar - constructor overwrites js object

Submitter:  Dirk Schaller <dschaller>
Submitted:  Thu 29 Apr 2004 02:06:27 PM UTC
   
 
Category:  API - phpGroupware API Item Group:  0.9.16.000 release
Severity:  2 - Minor Priority:  7 - High
Status:  Fixed Privacy:  Public
Assigned to:  skwashd Open/Closed:  Closed
Component Version:  SVN Operating System:  None
Reproducibility:  None Planned Release:  None
Fixed Release: 

Sat 01 May 2004 09:25:01 AM UTC, comment #1: 

This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and
will always get the most current bug fixes.

Thanks,

Dave Hall <skwashd>
Group administrator
Thu 29 Apr 2004 02:06:27 PM UTC, original submission:  

The constructor of jscalendar class overwrites the js object which is stored in $GLOBALS['phpgw'].
The effect of this is that all "included" js files are lost.

solution:
replace
$GLOBALS['phpgw']->js = createObject('phpgwapi.javascript');
with
if(!is_object($GLOBALS['phpgw']->js))
{
$GLOBALS['phpgw']->js = createObject('phpgwapi.javascript');
}

Dirk Schaller <dschaller>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-05-01 skwashd Item GroupSVN trunk (dev code) 0.9.16.000 release
    StatusNone Fixed
    Open/ClosedOpen Closed
2004-04-29 dschaller Carbon-Copy- Added fips

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code