diff --git a/api/js/etemplate/et2_widget_url.js b/api/js/etemplate/et2_widget_url.js index ffac6d3b8a..a5c723f198 100644 --- a/api/js/etemplate/et2_widget_url.js +++ b/api/js/etemplate/et2_widget_url.js @@ -156,7 +156,8 @@ var et2_url = /** @class */ (function (_super_1) { .replace("%t", this.egw().user('account_phone')); var popup = this.egw().config("call_popup"); value = function (ev) { - if (popup && popup !== '_self') { + if (popup && popup !== '_self' && !link.match(/^https?:/)) // execute non-http(s) links eg. tel: like before + { egw.open_link(link, '_phonecall', popup); } else { diff --git a/api/js/etemplate/et2_widget_url.ts b/api/js/etemplate/et2_widget_url.ts index b001541ff1..a33c06a695 100644 --- a/api/js/etemplate/et2_widget_url.ts +++ b/api/js/etemplate/et2_widget_url.ts @@ -199,7 +199,7 @@ class et2_url extends et2_textbox .replace("%t",this.egw().user('account_phone')); var popup = this.egw().config("call_popup"); value = function(ev : Event) { - if (popup && popup !== '_self') + if (popup && popup !== '_self' && !link.match(/^https?:/)) // execute non-http(s) links eg. tel: like before { egw.open_link(link, '_phonecall', popup); }