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

Submitted by:  Dirk Schaller <dschaller>
Submitted on:  Thu 29 Apr 2004 02:06:27 PM UTC  
 
Item Group: 0.9.16.000 releaseCategory: API - phpGroupware API
Severity: 2 - MinorPriority: 7 - High
Status: FixedPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: SVNOperating System: None
Reproducibility: NonePlanned 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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 May 2004 09:25:01 AM UTCskwashdItem GroupSVN trunk (dev code)=>0.9.16.000 release
  StatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 29 Apr 2004 02:06:27 PM UTCdschallerCarbon-Copy-=>Added fips

Back to the top


Powered by Savane 3.1-cleanup1