qa
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
6 changed files
with
8 additions
and
5 deletions
| ... | @@ -20737,9 +20737,12 @@ | ... | @@ -20737,9 +20737,12 @@ |
| 20737 | if (this.value == 'news') { | 20737 | if (this.value == 'news') { |
| 20738 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked'); | 20738 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked'); |
| 20739 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change'); | 20739 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change'); |
| 20740 | window.location.href = window.location.href + '?_sft_category=news'; | ||
| 20740 | } else if (this.value == 'events') { | 20741 | } else if (this.value == 'events') { |
| 20741 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked'); | 20742 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked'); |
| 20743 | new URLSearchParams(window.location.search); | ||
| 20742 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change'); | 20744 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change'); |
| 20745 | window.location.href = window.location.href + '?_sft_category=events'; | ||
| 20743 | } | 20746 | } |
| 20744 | }); | 20747 | }); |
| 20745 | } | 20748 | } | ... | ... |
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($) { | ... | @@ -100,12 +100,12 @@ var Search = (function($) { |
| 100 | if (this.value == 'news') { | 100 | if (this.value == 'news') { |
| 101 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked'); | 101 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked'); |
| 102 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change'); | 102 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change'); |
| 103 | 103 | window.location.href = window.location.href + '?_sft_category=news'; | |
| 104 | } | 104 | }else if (this.value == 'events') { |
| 105 | else if (this.value == 'events') { | ||
| 106 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked'); | 105 | $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked'); |
| 106 | const urlParams = new URLSearchParams(window.location.search); | ||
| 107 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change'); | 107 | $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change'); |
| 108 | 108 | window.location.href = window.location.href + '?_sft_category=events'; | |
| 109 | } | 109 | } |
| 110 | }); | 110 | }); |
| 111 | 111 | ... | ... |
| ... | @@ -2,5 +2,5 @@ | ... | @@ -2,5 +2,5 @@ |
| 2 | Theme Name: MSF CA Child | 2 | Theme Name: MSF CA Child |
| 3 | Author: Tenzing Communications | 3 | Author: Tenzing Communications |
| 4 | Template: msf-ca | 4 | Template: msf-ca |
| 5 | Version: 1.0.534 | 5 | Version: 1.0.535 |
| 6 | */ | 6 | */ |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment