[OpenLayers-Dev] (no subject)

Gints Polis gints.polis at cc.lv
Fri May 11 06:38:08 EDT 2007


Hi,

I would like to send small bugfix for Corners.js it wrongly calculates last div for element and so with corner redraw removes divs which are under 2 (like close button in ballon popup) so code:

lib/Rico/Corner.js (from line: 99) change to:
-------------------------------------------------------------------------------------------
//var topRico = theDiv.parentNode.childNodes[0];
var topRico = theDiv.parentNode.firstChild;
//theDiv would be theDiv.parentNode.childNodes[1]
//var bottomRico = theDiv.parentNode.childNodes[2];
var bottomRico = theDiv.parentNode.lastChild;
-------------------------------------------------------------------------------------------

Sory for not sending diff.

Gints 


More information about the Dev mailing list