added sound notifications (used in mail for now) and more settings UI work
This commit is contained in:
parent
aea4815fbd
commit
83ef9dc3ca
10 changed files with 111 additions and 32 deletions
14
static-data/www/mail/loadsettings.js
Normal file
14
static-data/www/mail/loadsettings.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
mailSettings = {}
|
||||
|
||||
fetch('/config/get/mail', {
|
||||
headers: {
|
||||
"content-type": "application/json",
|
||||
"token": webpass
|
||||
}})
|
||||
.then((resp) => resp.json())
|
||||
.then(function(settings) {
|
||||
mailSettings = settings || {}
|
||||
if (mailSettings.default_forward_secrecy === false){
|
||||
document.getElementById('forwardSecrecySetting').checked = false
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue