diff --git a/server/public/home.html b/server/public/home.html index d33b2d3..4b010c9 100644 --- a/server/public/home.html +++ b/server/public/home.html @@ -4846,6 +4846,18 @@ function openScheduleModal(gid, editMtg){ const label12=m=>{ let h=Math.floor(m/60),mm=m%60; const ap=h<12?'AM':'PM'; let h12=h%12||12; return h12+':'+pad(mm)+' '+ap; }; const dateLabel=d=>d.toLocaleDateString([],{weekday:'short',month:'short',day:'numeric'}); const invitedIds=new Set(editing&&Array.isArray(editMtg.invitedIds)?editMtg.invitedIds:[]); + // #16: scheduling FROM a group doesn't need the invite-participants / invite-by-email / admit-by-host + // sections — the group's members are automatically the meeting's participants. Drop them for a group. + const fromGroup=!!gid; + const inviteBlock = fromGroup ? '' : ( + '' + + (CONTACTS.length>6?'':'') + + '
'+(CONTACTS.length?CONTACTS.map(c=>'').join(''):'
No contacts to invite
')+'
' + + '' + + '
' + + '
' + + '' + ); const ov=document.createElement('div'); ov.className='modal-ov'; ov.id='schedModal'; ov.innerHTML='