]> git.openstreetmap.org Git - rails.git/commitdiff
Ensure IE/Edge compatibility for routing drag&drop
authorMormegil <mormegil@centrum.cz>
Thu, 27 Oct 2016 10:34:07 +0000 (12:34 +0200)
committerMormegil <mormegil@centrum.cz>
Thu, 27 Oct 2016 10:34:07 +0000 (12:34 +0200)
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.

Also, IE does not support .setDragImage, so check for support prior
to calling.

Fixes #1343


No differences found