diff --git a/sapl/templates/sdr/deliberacaoremota.html b/sapl/templates/sdr/deliberacaoremota.html index 20a365397..49b6d00b2 100644 --- a/sapl/templates/sdr/deliberacaoremota.html +++ b/sapl/templates/sdr/deliberacaoremota.html @@ -72,7 +72,6 @@ const domain = 'meet.jit.si'; const options= { roomName: '{{ object.chat_id }}', - // width: 700, height: 700, configOverwrite: { defaultLanguage: 'ptBR' }, parentNode: document.querySelector('#meet'), @@ -84,14 +83,9 @@ api = new JitsiMeetExternalAPI(domain, options); api.executeCommand('toggleTileView'); - // api.executeCommand('toggleChat'); api.executeCommand('subject', '{{ object.titulo }}'); api.executeCommand('displayName', '{{ nome_usuario }}'); - // api.addEventListener('videoConferenceJoined', (response) => { - // api.executeCommand('password', {{ password }}); - // }); - api.on('readyToClose', () => { console.log('Closed session'); window.location.href = "{% url 'sapl.sdr:deliberacaoremota_list' %}"; @@ -228,7 +222,7 @@ }, dataType: "json", complete: setTimeout(function() {poll()}, 500), - timeout: 20000 // TODO: decrease + timeout: 20000 }) "{% endif %}" } )(); });