From 9cc1f08d6329a02ccc54f19b68fd80772c3524dd Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 17 Feb 2023 08:51:27 -0700 Subject: [PATCH] Et2UrlEmail: Fix click to add to email button was broken --- api/js/etemplate/Et2Url/Et2UrlEmail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Url/Et2UrlEmail.ts b/api/js/etemplate/Et2Url/Et2UrlEmail.ts index 847d5cdd99..2ed58f5a24 100644 --- a/api/js/etemplate/Et2Url/Et2UrlEmail.ts +++ b/api/js/etemplate/Et2Url/Et2UrlEmail.ts @@ -43,7 +43,7 @@ export class Et2UrlEmail extends Et2InvokerMixin(Et2Textbox) this._invokerTitle = 'Compose mail to'; this._invokerAction = () => { - if (!this._isEmpty() && !this.hasFeedbackFor.length) + if(this.value.length > 0 && !this.hasFeedbackFor.length) { Et2UrlEmail.action(this.value); }