diff --git a/public/js/airtime/schedule/schedule.js b/public/js/airtime/schedule/schedule.js index 9fa197489..c014dd79e 100644 --- a/public/js/airtime/schedule/schedule.js +++ b/public/js/airtime/schedule/schedule.js @@ -60,11 +60,9 @@ function submitShow() { formData, function(data){ if(data.content) { - dialog.find("form").remove(); - dialog.find("#show_overlap_error").empty(); - dialog.append(data.content); - makeShowDialog(dialog, json); + dialog.find("form").remove(); + makeShowDialog(dialog, data); if(data.overlap) { var div, table, tr, days;