improvements to active meetings

This commit is contained in:
Josh
2017-07-04 11:52:35 -04:00
parent 44e2cb7027
commit 27f6076954
8 changed files with 162 additions and 39 deletions

View File

@ -28,3 +28,11 @@
<%= image_tag "loading-indicator.gif", :alt => "" %>
</div>
<% end %>
<script>
// Notify the server when a user is no longer waiting to join a meeting.
window.addEventListener("beforeunload", function(e){
$.post(window.location.href + '/no_longer_wait', {name: localStorage.waitingName});
}, false);
</script>