8bf74f6c by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent e9988ff8
......@@ -20735,13 +20735,17 @@
}
$(document).on("change", ' #top-news-select input[type="radio"][name="_sft_category[]"]', function (e) {
if (this.value == 'news') {
$('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
$('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
window.location.href = window.location.href + '?_sft_category=news';
// $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
// $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
const search = new URLSearchParams(location.search);
search.set('_sft_category', 'news');
location.search = search.toString();
} else if (this.value == 'events') {
$('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
$('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
window.location.href = window.location.href + '?_sft_category=events';
// $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
// $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
const search = new URLSearchParams(location.search);
search.set('_sft_category', 'events');
location.search = search.toString();
}
});
}
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -98,13 +98,17 @@ var Search = (function($) {
$(document).on("change",' #top-news-select input[type="radio"][name="_sft_category[]"]', function(e){
if (this.value == 'news') {
$('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
$('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
window.location.href = window.location.href + '?_sft_category=news';
// $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
// $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
const search = new URLSearchParams(location.search);
search.set('_sft_category', 'news');
location.search = search.toString();
}else if (this.value == 'events') {
$('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
$('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
window.location.href = window.location.href + '?_sft_category=events';
// $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
// $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
const search = new URLSearchParams(location.search);
search.set('_sft_category', 'events');
location.search = search.toString();
}
});
......
......@@ -2,5 +2,5 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.536
Version: 1.0.5301
*/
\ No newline at end of file
......