27d449b9 by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 4430fbba
......@@ -20737,9 +20737,12 @@
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';
} else if (this.value == 'events') {
$('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
new URLSearchParams(window.location.search);
$('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
window.location.href = window.location.href + '?_sft_category=events';
}
});
}
......
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.
......@@ -100,12 +100,12 @@ var Search = (function($) {
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');
}
else if (this.value == 'events') {
window.location.href = window.location.href + '?_sft_category=news';
}else if (this.value == 'events') {
$('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
const urlParams = new URLSearchParams(window.location.search);
$('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
window.location.href = window.location.href + '?_sft_category=events';
}
});
......
......@@ -2,5 +2,5 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.534
Version: 1.0.535
*/
\ No newline at end of file
......