It is not possible to create private posts for groups.

This commit is contained in:
Pierre HUBERT 2018-07-16 13:48:35 +02:00
parent 57306d6872
commit 500633862e

View File

@ -302,9 +302,11 @@ ComunicWeb.components.posts.form = {
class: "post-visiblity-container" class: "post-visiblity-container"
}); });
if(kind != "group"){
//Private post //Private post
var privateLevel = ComunicWeb.components.posts.visibilityLevels.private; var privateLevel = ComunicWeb.components.posts.visibilityLevels.private;
var privateInput = this._add_visiblity_choice(visibility_choices_container, "private", privateLevel.name, privateLevel.icon); var privateInput = this._add_visiblity_choice(visibility_choices_container, "private", privateLevel.name, privateLevel.icon);
}
//Friends-visible post //Friends-visible post
var friendsLevel = ComunicWeb.components.posts.visibilityLevels.friends; var friendsLevel = ComunicWeb.components.posts.visibilityLevels.friends;