demo: http://plnkr.co/edit/lBBvUkVBOOgrFfqQ9Haw?p=preview
I get "The address isn't valid" error whenever I try to sort/drag sortables inside an iframe but it works well in chrome.
happens with firefox 40.0.3 on OSX as well
Same stuff, firefox 42.0. Btw there are no errors if draggable contains only image without any text.
To fix it change lines 204-206 from
setData: function (dataTransfer, dragEl) {
dataTransfer.setData('Text', dragEl.textContent);
},
to
setData: function (dataTransfer, dragEl) {
dataTransfer.setData('text/html', dragEl.innerHTML);
},
That will cause exception in IE, but no more redirects in FF
Super! Thank you for the fix.
this is still an issue :/
Most helpful comment
this is still an issue :/