From: Alexander Ebert Date: Wed, 30 Oct 2013 20:42:28 +0000 (+0100) Subject: Firefox seems to fool JavaScript, block all drop-events X-Git-Tag: 2.0.0_Beta_11~8^2~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93e30a246005cd3987cf9eb2a9bfd827d06cfb5c;p=GitHub%2FWoltLab%2FWCF.git Firefox seems to fool JavaScript, block all drop-events --- diff --git a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js index 73ed36022c..b8934d1644 100644 --- a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js +++ b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js @@ -42,14 +42,11 @@ }, null, null, 9); // prevent drag and drop of images in Firefox - event.editor.document.on('drop', function(ev) { - if (ev.data.$.dataTransfer) { - var $html = ev.data.$.dataTransfer.getData('text/html'); - if (/