CC-5080: Calendar -> Warn user a show cannot be linked again once it has been unlinked
This commit is contained in:
parent
414348dd11
commit
7b8a37065a
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue