CC-2155:Can open the rebroadcast options without the 'Record'checkbox being selected - fixed
This commit is contained in:
parent
b53c9482c2
commit
e31a1240f3
1 changed files with 11 additions and 9 deletions
|
@ -104,6 +104,7 @@ function setAddShowEvents() {
|
||||||
|
|
||||||
form.find("#add_show_rebroadcast").click(function(){
|
form.find("#add_show_rebroadcast").click(function(){
|
||||||
$(this).blur();
|
$(this).blur();
|
||||||
|
if(form.find("#add_show_record").attr('checked')){
|
||||||
if($(this).attr('checked') && !form.find("#add_show_repeats").attr('checked')) {
|
if($(this).attr('checked') && !form.find("#add_show_repeats").attr('checked')) {
|
||||||
form.find("#add_show_rebroadcast_absolute").show();
|
form.find("#add_show_rebroadcast_absolute").show();
|
||||||
}
|
}
|
||||||
|
@ -113,6 +114,7 @@ function setAddShowEvents() {
|
||||||
else {
|
else {
|
||||||
form.find("#schedule-record-rebroadcast > fieldset:not(:first-child)").hide();
|
form.find("#schedule-record-rebroadcast > fieldset:not(:first-child)").hide();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
form.find("#add_show_repeat_type").change(function(){
|
form.find("#add_show_repeat_type").change(function(){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue