diff --git a/zul/src/main/resources/web/js/zul/wgt/Toolbarbutton.ts b/zul/src/main/resources/web/js/zul/wgt/Toolbarbutton.ts index e8bdab57bac..a0ffe5c5e3c 100644 --- a/zul/src/main/resources/web/js/zul/wgt/Toolbarbutton.ts +++ b/zul/src/main/resources/web/js/zul/wgt/Toolbarbutton.ts @@ -426,13 +426,12 @@ export class Toolbarbutton extends zul.LabelImageWidget implements zul.LabelImag /** @internal */ override doClick_(evt: zk.Event, popupOnly?: boolean): void { if (!this._disabled) { + this.fireX(evt); if (!this._upload) zul.wgt.ADBS.autodisable(this); else this._uplder!.openFileDialog(); - this.fireX(evt); - if (!evt.stopped) { var href = this._href, isMailTo = href ? href.toLowerCase().startsWith('mailto:') : false;