mirror of
https://github.com/ChrispyBacon-dev/DockFlare.git
synced 2026-04-28 19:59:37 +00:00
added compose example for email services in case no email services are present in the active compose
This commit is contained in:
parent
5e4ff1f4a9
commit
aba3499de4
12 changed files with 152 additions and 1 deletions
|
|
@ -2070,6 +2070,14 @@ async function deleteIdP(friendlyName) {
|
|||
}
|
||||
}
|
||||
|
||||
async function emailCopyCompose(btn) {
|
||||
const content = document.getElementById('composeContent').innerText;
|
||||
await navigator.clipboard.writeText(content);
|
||||
const original = btn.innerText;
|
||||
btn.innerText = 'Copied!';
|
||||
setTimeout(() => { btn.innerText = original; }, 2000);
|
||||
}
|
||||
|
||||
async function emailCheckPermissions() {
|
||||
try {
|
||||
const response = await fetch('/email/check-permissions', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue