mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
It is not possible to create private posts for groups.
This commit is contained in:
parent
57306d6872
commit
500633862e
@ -302,9 +302,11 @@ ComunicWeb.components.posts.form = {
|
||||
class: "post-visiblity-container"
|
||||
});
|
||||
|
||||
//Private post
|
||||
var privateLevel = ComunicWeb.components.posts.visibilityLevels.private;
|
||||
var privateInput = this._add_visiblity_choice(visibility_choices_container, "private", privateLevel.name, privateLevel.icon);
|
||||
if(kind != "group"){
|
||||
//Private post
|
||||
var privateLevel = ComunicWeb.components.posts.visibilityLevels.private;
|
||||
var privateInput = this._add_visiblity_choice(visibility_choices_container, "private", privateLevel.name, privateLevel.icon);
|
||||
}
|
||||
|
||||
//Friends-visible post
|
||||
var friendsLevel = ComunicWeb.components.posts.visibilityLevels.friends;
|
||||
|
Loading…
Reference in New Issue
Block a user