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