CC-5080: Calendar -> Warn user a show cannot be linked again once it has been unlinked

This commit is contained in:
denise 2013-05-10 14:53:01 -04:00
parent 414348dd11
commit 7b8a37065a
1 changed files with 7 additions and 0 deletions

View File

@ -187,6 +187,13 @@ function setAddShowEvents() {
} }
}); });
form.find("#add_show_linked").click(function(){
if (!$(this).attr("checked")) {
$(this).parent().after("<ul class='errors'><li>Warning: Shows cannot be re-linked</li></ul>");
}
});
form.find("#add_show_record").click(function(){ form.find("#add_show_record").click(function(){
$(this).blur(); $(this).blur();
form.find("#add_show_rebroadcast").toggle(); form.find("#add_show_rebroadcast").toggle();