Skip to content

Commit

Permalink
Update bmlt_meeting_list.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Barack committed Oct 23, 2019
1 parent dc3670a commit 23e8e3c
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions js/bmlt_meeting_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ var $ml = jQuery.noConflict
$ml('.user_defined_headings').hide();
if (meeting_sort_val === 'user_defined') {
$ml('.user_defined_headings').show();
if ($ml("#heading2").val()!='') {
if ($ml("#subgrouping").val()!='') {
user_defined_sub = true;
}
}
Expand Down Expand Up @@ -443,19 +443,32 @@ var $ml = jQuery.noConflict
$ml('.user_defined_headings').hide();
if (meeting_sort_val === 'user_defined') {
$ml('.user_defined_headings').show();
if ($ml("#heading2").val()!='') {
if ($ml("#subgrouping").val()!='') {
user_defined_sub = true;
}
}
if (meeting_sort_val == 'weekday_area'
|| meeting_sort_val == 'weekday_city'
|| meeting_sort_val == 'weekday_county'
|| meeting_sort_val == 'state') {
|| meeting_sort_val == 'state'
|| user_defined_sub) {
$ml('.show_subheader').show();
} else {
$ml('.show_subheader').hide();
}
});
$ml("#subgrouping").click(function() {
var user_defined_sub = false;
$ml('.user_defined_headings').hide();
if (meeting_sort_val === 'user_defined') {
$ml('.user_defined_headings').show();
if ($ml("#subgrouping").val()!='') {
$ml('.show_subheader').show();
} else {
$ml('.show_subheader').hide();
}
}
});
var time_clock_val = $ml('input[name=time_clock]:checked').val();
if (time_clock_val == '24') {
$ml('#option3').hide();
Expand Down

0 comments on commit 23e8e3c

Please sign in to comment.