fix since f093762d19 not shown progress bar in file uploade

This commit is contained in:
ralf 2024-11-12 13:36:49 +01:00
parent cc1b2b8c7c
commit cad474701e

View File

@ -522,10 +522,10 @@ export class et2_file extends et2_inputWidget
// Hide any previous errors // Hide any previous errors
this.hideMessage(); this.hideMessage();
event.data = this; event.data = this;
//Add dropdown_progress //Add dropdown_progress
this.progress.removeClass("hideme");
if (this.options.progress_dropdownlist) if (this.options.progress_dropdownlist)
{ {
this._build_progressDropDownList(); this._build_progressDropDownList();
@ -587,7 +587,6 @@ export class et2_file extends et2_inputWidget
private _build_progressDropDownList() private _build_progressDropDownList()
{ {
this.progress.addClass("progress_dropDown_fileList"); this.progress.addClass("progress_dropDown_fileList");
this.progress.removeClass("hideme");
//Add uploading indicator and bind hover handler on it //Add uploading indicator and bind hover handler on it
jQuery(this.node).find('span').addClass('totalProgress_loader'); jQuery(this.node).find('span').addClass('totalProgress_loader');