From e1dd31ebbdc330114f87913babf78177deaa51c5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 9 Sep 2014 13:07:07 +0000 Subject: [PATCH] * All apps/IE: Fix not working file upload in IE --- etemplate/js/et2_widget_file.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_file.js b/etemplate/js/et2_widget_file.js index f1c8f4bf32..32d3801b51 100644 --- a/etemplate/js/et2_widget_file.js +++ b/etemplate/js/et2_widget_file.js @@ -439,7 +439,8 @@ var et2_file = et2_inputWidget.extend( this.resumable.removeFile(this.resumable.files[i]); } - var event = new Event('upload'); + var event = jQuery.Event('upload'); + event.data = this; var result = false;