[openstreetmap/openstreetmap-website] Ensure IE/Edge compatibility for routing drag&drop (#1344)
notifications at github.com
Thu Oct 27 10:39:04 UTC 2016
Use the DataTransfer interface properly, using the `text` format, as IE/Edge does not support much more. We can JSON-serialize anything there, even though right now, only a single string would be enough. (This might be unnecessarily complicated right now, and in the spirit of KISS, we might use just `dt.setData('text', $(this).data('type')` and `type = oe.dataTransfer.getData('text')`. Your call.)
Also, IE does not support .setDragImage, so check for support prior to calling.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Ensure IE/Edge compatibility for routing drag&drop
-- File Changes --
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev