fixed undefined mail sig load
This commit is contained in:
parent
c7b8f9bed6
commit
77b24d022f
@ -17,7 +17,7 @@ fetch('/config/get/mail', {
|
||||
if (mailSettings.notificationSetting === 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
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue
Block a user