Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

HTML5 drop event changes URL

  • Няма отговори
  • 1 има този проблем
  • 1 изглед
more options

Hi everyone.

I have a problem with a HTML5 drag/drop. When i drop a certain elements using HTML5 drag drop events on my page the drop is executed correctly and afterwards firefox tries to navigate to a different url. The same code works for IE 11, Edge and Chrome. It only fails in Friefox (regardless of version)

To see the effect you can navigate to www.darkbird.de --> click on 'LIVE-DEMO' --> 'Geschäftsführer' --> 'Planung' --> 'Daily Bugle' --> Drag on item from the Column 'Schichten' onto a gray block (that appears when dragging) and drop it. The dragged information ev.getdata('text') is '.shiftguid=f5c9bdb4-5570-4f32-8a4a-0c8f2877d3b0'. The javascript for the drop operation is executed correctly and then the browser changes the url to 'www.shiftguid=f5c9bdb4-5570-4f32-8a4a-0c8f2877d3b0.com'.

I checked everything multiple times and it is working on the lastest Chrome, IE, Edge and Safari on Windows and Mac. Only firefox has this strange behaviour.

I would be very glad if you could help me out.

Cheers Tobi

Hi everyone. I have a problem with a HTML5 drag/drop. When i drop a certain elements using HTML5 drag drop events on my page the drop is executed correctly and afterwards firefox tries to navigate to a different url. The same code works for IE 11, Edge and Chrome. It only fails in Friefox (regardless of version) To see the effect you can navigate to www.darkbird.de --> click on 'LIVE-DEMO' --> 'Geschäftsführer' --> 'Planung' --> 'Daily Bugle' --> Drag on item from the Column 'Schichten' onto a gray block (that appears when dragging) and drop it. The dragged information ev.getdata('text') is '.shiftguid=f5c9bdb4-5570-4f32-8a4a-0c8f2877d3b0'. The javascript for the drop operation is executed correctly and then the browser changes the url to 'www.shiftguid=f5c9bdb4-5570-4f32-8a4a-0c8f2877d3b0.com'. I checked everything multiple times and it is working on the lastest Chrome, IE, Edge and Safari on Windows and Mac. Only firefox has this strange behaviour. I would be very glad if you could help me out. Cheers Tobi