From 93e30a246005cd3987cf9eb2a9bfd827d06cfb5c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 30 Oct 2013 21:42:28 +0100 Subject: [PATCH] Firefox seems to fool JavaScript, block all drop-events --- .../js/3rdParty/ckeditor/plugins/wbbcode/plugin.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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 (/