From: Mormegil Date: Thu, 27 Oct 2016 10:34:07 +0000 (+0200) Subject: Ensure IE/Edge compatibility for routing drag&drop X-Git-Tag: live~4351^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/caac9a94033bf6bea1f2eb05f23aa9898e236d3d?hp=caac9a94033bf6bea1f2eb05f23aa9898e236d3d Ensure IE/Edge compatibility for routing drag&drop 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 ---