mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +00:00
Added Allow Comunic emails field
This commit is contained in:
parent
e065b6ac18
commit
4df770e68c
@ -115,6 +115,14 @@ ComunicWeb.pages.settings.sections.general = {
|
||||
value: infos.lastName
|
||||
});
|
||||
|
||||
//Allow mails from Comunic
|
||||
var allowEmails = createFormGroup({
|
||||
target: target,
|
||||
type: "checkbox",
|
||||
label: "Allow Comunic to send you emails",
|
||||
checked: infos.allow_comunic_mails
|
||||
});
|
||||
|
||||
//Page settings
|
||||
add_space(target);
|
||||
createElem2({
|
||||
@ -248,6 +256,7 @@ ComunicWeb.pages.settings.sections.general = {
|
||||
var settings = {
|
||||
firstName: firstName.value,
|
||||
lastName: lastName.value,
|
||||
allow_comunic_mails: allowEmails.checked,
|
||||
isPublic: publicPage.checked,
|
||||
isOpen: openPage.checked,
|
||||
allowComments: allowComments.checked,
|
||||
|
Loading…
Reference in New Issue
Block a user