From 7b8a37065a5f42db48d1d95f631135fea79e511b Mon Sep 17 00:00:00 2001 From: denise Date: Fri, 10 May 2013 14:53:01 -0400 Subject: [PATCH] CC-5080: Calendar -> Warn user a show cannot be linked again once it has been unlinked --- airtime_mvc/public/js/airtime/schedule/add-show.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 2e8fd7454..39942c322 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -187,6 +187,13 @@ function setAddShowEvents() { } }); + form.find("#add_show_linked").click(function(){ + if (!$(this).attr("checked")) { + $(this).parent().after(""); + } + }); + + form.find("#add_show_record").click(function(){ $(this).blur(); form.find("#add_show_rebroadcast").toggle();