You need to log in before you can comment on or make changes to this bug.
I made a change in the core of Chameleon that requires all widgets to call InitDefaults() in the base class. The CWCJSAPI widget bypasses the normal processing of widgets by calling UpdateMap.php to load a single widget to handle processing. Unfortunately, this file was not updated after this change, so no widgets will currently work in JSAPI mode.
Changed target to 1.99 Beta 3.
fixed in CVS.
Question how can this changed be verified? Is it enough to use the JSAPI sample app: http://localhost/chameleon/samples/sample_basic_jsapi.phtml When loading app and trying to use the nav tools the following observations are made: 1) No buttons are working. 2) Java Script Consol error(s): Error: goCWCJSAPI is not defined Source File: http://localhost/chameleon//widgets/MapDHTMLWidget/MapDHTMLWidget.js Line: 301 Error: goCWCJSAPI is not defined Source File: http://localhost/chameleon//widgets/MapDHTMLWidget/MapDHTMLWidget.js Line: 313 Should there be awaring to the users that this is deliberate error?
there is a typo in the variable names in MapDHTMLWidget.js that could cause this problem, I have committed a fix for this. Requires retesting with new version of MapDHTMLWidget.js
Verified on windows beta 3 20041105 no JS errors in console.