CC-3226: Record cancel dialog says "stop playback?" instead of "stop recording?"

Done
This commit is contained in:
Yuchen Wang 2012-01-13 16:46:37 -05:00
parent 9629e2bbae
commit d753b0bb02
2 changed files with 16 additions and 0 deletions

View file

@ -184,6 +184,16 @@ function confirmCancelShow(show_instance_id){
}
}
function confirmCancelRecordedShow(show_instance_id){
if(confirm('Erase current show and stop recording?')){
var url = "/Schedule/cancel-current-show/id/"+show_instance_id;
$.ajax({
url: url,
success: function(data){scheduleRefetchEvents(data);}
});
}
}
function uploadToSoundCloud(show_instance_id){
var url = "/Schedule/upload-to-sound-cloud";