It looks like the srcElement of the event we're handling in handleKeypress is the focused element. So I guess it will be necessary to pass the drag handler's last move event instead of the keypress event to the layer's getFeatureIdFromEvent method.
A pull request with a fix would be much appreciated. Thanks! Andreas. On Tue, Aug 13, 2013 at 4:15 PM, HATRI Aurelien <[email protected]>wrote: > Hello, > > > > First of all thanks for the good job you guys are doing on the library. > > > > So my issue is on the modify feature example. > > I can’t remove a vertex on a Polygon or on a Line with the IE8 and IE7 in > 2.13. It worked in 2.12. > > > > I didn’t dig very deeply but it seems that now because ModifyFeature > doesn’t use anymore the DragFeature control after a keydown event OL can’t > find anymore the vertex feature’s id with getFeatureIdFromEvent. > > > > It feels IE 8/7 issue here. > > > > Before I try to push further it will be great if you can find the time to > look at it. > > > > Thanks in advance. > > Regards. > > > ------------------------------ > > Ce message et les pièces jointes sont confidentiels et réservés à l'usage > exclusif de ses destinataires. Il peut également être protégé par le secret > professionnel. Si vous recevez ce message par erreur, merci d'en avertir > immédiatement l'expéditeur et de le détruire. L'intégrité du message ne > pouvant être assurée sur Internet, la responsabilité du groupe Atos ne > pourra être engagée quant au contenu de ce message. Bien que les meilleurs > efforts soient faits pour maintenir cette transmission exempte de tout > virus, l'expéditeur ne donne aucune garantie à cet égard et sa > responsabilité ne saurait être engagée pour tout dommage résultant d'un > virus transmis. > > This e-mail and the documents attached are confidential and intended > solely for the addressee; it may also be privileged. If you receive this > e-mail in error, please notify the sender immediately and destroy it. As > its integrity cannot be secured on the Internet, the Atos group liability > cannot be triggered for the message content. Although the sender endeavors > to maintain a computer virus-free network, the sender does not warrant that > this transmission is virus-free and will not be liable for any damages > resulting from any virus transmitted. > > _______________________________________________ > Dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-dev > > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers.
_______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
