diff --git a/app/assets/javascripts/channels/meeting_updates.js b/app/assets/javascripts/channels/meeting_updates.js index 86b26a32..db39b476 100644 --- a/app/assets/javascripts/channels/meeting_updates.js +++ b/app/assets/javascripts/channels/meeting_updates.js @@ -3,6 +3,7 @@ var sessionStatusRefresh = function(url) { $.get(url + "/session_status_refresh", function(html) { $(".center-panel-wrapper").html(html); + displayMeetingURL(); }); } @@ -20,10 +21,12 @@ loopJoin(); } else { sessionStatusRefresh($('.meeting-url').val()); + showAlert($('.meeting-started-alert').html(), 4000); } } } else if (data.action === 'meeting_ended') { sessionStatusRefresh($('.meeting-url').val()); + showAlert($('.meeting-ended-alert').html(), 4000); } } }); diff --git a/app/assets/javascripts/channels/recording_update.js b/app/assets/javascripts/channels/recording_update.js index 4d3c7730..5650f310 100644 --- a/app/assets/javascripts/channels/recording_update.js +++ b/app/assets/javascripts/channels/recording_update.js @@ -15,11 +15,11 @@ table.row("#"+data.record_id).data(rowData).draw(); var publish = (data.published) ? 'publish' : 'unpublish'; - showAlert($('.'+publish+'-alert').html(), 4000); + showAlert($('.recording-'+publish+'-alert').html(), 4000); } else if (data.action === 'delete') { row.remove().draw(); - showAlert($('.delete-alert').html(), 4000); + showAlert($('.recording-delete-alert').html(), 4000); } } }); diff --git a/app/views/landing/_rooms_center_panel.html.erb b/app/views/landing/_rooms_center_panel.html.erb index 00efd3de..f805d6b3 100644 --- a/app/views/landing/_rooms_center_panel.html.erb +++ b/app/views/landing/_rooms_center_panel.html.erb @@ -1,8 +1,8 @@ <% content_for :title do %>