[Chameleon-dev] [Bug 936] [Chameleon - Widget] UpdateMap broken in CWCJSAPI mode

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Tue Jan 25 08:01:46 EST 2005


http://www.maptools.org/bugzilla/show_bug.cgi?id=936

pspencer at dmsolutions.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From pspencer at dmsolutions.ca  2005-01-25 08:01 -------
actual fix applied to both 2.1 and 2.0 was:

if ({$bCWCJSAPI})
    {
        {$this->mszHTMLForm}.MAP_EXTENTS_MINX.value = goCWCJSAPI.oMap.minx;  
        {$this->mszHTMLForm}.MAP_EXTENTS_MAXX.value = goCWCJSAPI.oMap.maxx;
        {$this->mszHTMLForm}.MAP_EXTENTS_MINY.value = goCWCJSAPI.oMap.miny;
        {$this->mszHTMLForm}.MAP_EXTENTS_MAXY.value = goCWCJSAPI.oMap.maxy;
        {$this->mszHTMLForm}.NAV_CMD.value = "";
    }

where $bCWCJSAPI is calculated in PHP as:

$bCWCJSAPI = (isset($this->maSharedResourceWidgets["CWCJSAPI"])) ? 1 : 0;



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list