forked from External/greenlight
meeting action alerts
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user