Summary: | [Chameleon - Widget] CWCJSAPI failure | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Paul Spencer <pspencer@dmsolutions.ca> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 1.99 | ||
Target Milestone: | 2.0 RC 1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
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.