fixed undefined mail sig load
This commit is contained in:
parent
c7b8f9bed6
commit
77b24d022f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ fetch('/config/get/mail', {
|
||||||
if (mailSettings.notificationSetting === false){
|
if (mailSettings.notificationSetting === false){
|
||||||
document.getElementById('notificationSetting').checked = false
|
document.getElementById('notificationSetting').checked = false
|
||||||
}
|
}
|
||||||
if (mailSettings.signature !== false){
|
if (typeof mailSettings.signature != undefined && mailSettings.signature != null && mailSettings.signature != ""){
|
||||||
document.getElementById('mailSignatureSetting').value = mailSettings.signature
|
document.getElementById('mailSignatureSetting').value = mailSettings.signature
|
||||||
}
|
}
|
||||||
})
|
})
|
Loading…
Reference in a new issue