meeting action alerts

This commit is contained in:
Zachary Chai
2016-11-09 16:46:24 -05:00
parent d22cc3e6d0
commit 552ea39ddd
5 changed files with 19 additions and 8 deletions

View File

@ -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);
}
}
});