mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Et2UrlEmail: Use default mail app when preference says to
This commit is contained in:
parent
d2e23876f1
commit
5e6b11e73c
@ -13,6 +13,7 @@ import {IsEmail} from "../Validators/IsEmail";
|
||||
import {Et2Textbox} from "../Et2Textbox/Et2Textbox";
|
||||
import {colorsDefStyles} from "../Styles/colorsDefStyles";
|
||||
import {css} from "@lion/core";
|
||||
import {egw} from "../../jsapi/egw_global";
|
||||
|
||||
/**
|
||||
* @customElement et2-url-email
|
||||
@ -56,6 +57,10 @@ export class Et2UrlEmail extends Et2InvokerMixin(Et2Textbox)
|
||||
{
|
||||
egw.open_link('mailto:'+value);
|
||||
}
|
||||
else
|
||||
{
|
||||
window.open("mailto:" + value);
|
||||
}
|
||||
}
|
||||
}
|
||||
// @ts-ignore TypeScript is not recognizing that this is a LitElement
|
||||
|
Loading…
Reference in New Issue
Block a user