Automatically update checkbox

This commit is contained in:
Pierre HUBERT 2020-04-25 18:24:47 +02:00
parent 95411483c3
commit 00f0bf2f73

View File

@ -548,6 +548,9 @@ const ConvChatWindow = {
if(conversation.infos.ID_owner == userID()){
//Update conversation members
ComunicWeb.components.userSelect.pushEntries(settingsForm.usersElement, conversation.infos.members);
// Update checkbox to allow or not everyone to add members
$(settingsForm.allowEveryoneToAddMembers).iCheck(conversation.infos.canEveryoneAddMembers ? "check" : "uncheck");
}
else {
//We disable name field