CC-1848
-began progress, not complete yet. Show can be deleted from database while it is playing, need to notify pypo as well
This commit is contained in:
parent
bfbca3f724
commit
43a9b63fb5
4 changed files with 37 additions and 0 deletions
|
@ -155,6 +155,16 @@ function makeScheduleDialog(dialog, json) {
|
|||
setScheduleDialogEvents(dialog);
|
||||
}
|
||||
|
||||
function confirmCancelShow(show_instance_id){
|
||||
if(confirm('Erase current show and stop playback?')){
|
||||
var url = "/Schedule/cancel-current-show/id/"+show_instance_id;
|
||||
$.ajax({
|
||||
url: url,
|
||||
success: function(data){scheduleRefetchEvents();}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function buildContentDialog(json){
|
||||
var dialog = $(json.dialog);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue