diff --git a/api/js/etemplate/et2_widget_file.ts b/api/js/etemplate/et2_widget_file.ts index 6e86e98eb9..02e3a45d82 100644 --- a/api/js/etemplate/et2_widget_file.ts +++ b/api/js/etemplate/et2_widget_file.ts @@ -665,7 +665,7 @@ export class et2_file extends et2_inputWidget event.data = this; // Callback - if(typeof this.onFinishOne == 'function') + if(typeof this.onFinishOne == 'function' && !this.options.onFinishOne) { this.onFinishOne(event, response, name); }