mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Get post selected visibility level
This commit is contained in:
parent
6f51c34120
commit
1b5678cdd1
@ -440,6 +440,13 @@ ComunicWeb.components.posts.form = {
|
||||
ComunicWeb.common.notificationSystem.showNotification("Please check you have chosen a post type !", "danger");
|
||||
return;
|
||||
}
|
||||
|
||||
//Get the visibility level
|
||||
var visibilityLevel = visibility_choices_contener.querySelector("input:checked").value;
|
||||
datas.append("visibility", visibilityLevel);
|
||||
|
||||
//Try to perform the request
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user