mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Automatically update checkbox
This commit is contained in:
parent
95411483c3
commit
00f0bf2f73
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user