diff --git a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js index 847784903..ac06b6962 100644 --- a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js +++ b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js @@ -212,7 +212,9 @@ function viewDisplay( view ) { } if(($("#add-show-form").length == 1) && ($("#add-show-form").css('display')=='none') && ($('.fc-header-left > span').length == 5)) { - makeAddShowButton(); + if($.trim($("#add-show-form").html()) != ""){ + makeAddShowButton(); + } } //save view name to db