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;