phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bugs #8739] jscalendar - constructor overwrites


From: Dirk Schaller
Subject: [Phpgroupware-tracker] [bugs #8739] jscalendar - constructor overwrites js object
Date: Thu, 29 Apr 2004 10:06:44 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

This mail is an automated notification from the bugs tracker
 of the project: phpGroupWare.




/**************************************************************************/
[bugs #8739] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8739>
Project: phpGroupWare
Submitted by: Dirk Schaller
On: Thu 04/29/04 at 14:06

Category:  API - phpGWapi
Item Group:  devel cvs
Severity:  3 - Ordinary
Priority:  7 - High
Resolution:  None
Assigned to:  skwashd
Status:  Open
Component Version:  CVS
Platform Version:  None
Reproducibility:  None


Summary:  jscalendar - constructor overwrites js object 

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');
}



CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
fips                                | FYI









For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8739>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]