From 9f2abdd5df50ae6bc6212dd6c3321596dbf395ab Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 9 Nov 2017 15:01:41 +0100 Subject: [PATCH] Remove special file drop handling on CKEditor for IE, it's no longer necessary. Fix issue of drop none image file on compose HTML area uploads the file twice. --- api/js/etemplate/et2_widget_htmlarea.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index 21faf883d1..27bf431ed7 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -209,10 +209,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2 }; editor.on( 'contentDom', function() { - // For Firefox editor.document.on('drop', chkImg); - // For IE - editor.document.getBody().on('drop', chkImg); }); }