forked from extern/egroupware
execute non-http(s) links eg. tel: like before
This commit is contained in:
parent
18cbde732d
commit
9b0e2f8207
@ -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 {
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user