<div dir="ltr">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.<div>
<br></div><div style>A pull request with a fix would be much appreciated.</div><div style><br></div><div style>Thanks!</div><div style>Andreas.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 4:15 PM, HATRI Aurelien <span dir="ltr"><<a href="mailto:aurelien.hatri@atos.net" target="_blank">aurelien.hatri@atos.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US">Hello,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">First of all thanks for the good job you guys are doing on the library.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">So my issue is on the modify feature example.
</span></p>
<p class="MsoNormal"><span lang="EN-US">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.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">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.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">It feels IE 8/7 issue here.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Before I try to push further it will be great if you can find the time to look at it.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance.</span></p>
<p class="MsoNormal"><span lang="EN-US">Regards.</span></p>
<p class="MsoNormal"> </p>
</div>
<hr>
<p style="font-size:8pt;line-height:10pt;font-family:arial">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.<br>
<br>
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.</p>
</div>
<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Andreas Hocevar<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org/</a><br>Expert service straight from the developers.<br>
</div>