4430fbba by Jeff Balicki

ssss

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent ef9910ac
...@@ -20735,15 +20735,14 @@ ...@@ -20735,15 +20735,14 @@
20735 } 20735 }
20736 $(document).on("change", ' #top-news-select input[type="radio"][name="_sft_category[]"]', function (e) { 20736 $(document).on("change", ' #top-news-select input[type="radio"][name="_sft_category[]"]', function (e) {
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="news"]').attr('checked', 'checked').trigger('change'); 20739 $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
20739 //$('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked');
20740 } else if (this.value == 'events') { 20740 } else if (this.value == 'events') {
20741 $('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
20741 $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change'); 20742 $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
20742 //$('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked');
20743 } 20743 }
20744 }); 20744 });
20745 } 20745 }
20746
20747 return { 20746 return {
20748 init: init 20747 init: init
20749 }; 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.
...@@ -98,12 +98,14 @@ var Search = (function($) { ...@@ -98,12 +98,14 @@ var Search = (function($) {
98 98
99 $(document).on("change",' #top-news-select input[type="radio"][name="_sft_category[]"]', function(e){ 99 $(document).on("change",' #top-news-select input[type="radio"][name="_sft_category[]"]', function(e){
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="news"]').attr('checked', 'checked').trigger('change'); 102 $('form input[type="radio"][name="_sft_category[]"][value="news"]').attr('checked', 'checked').trigger('change');
102 //$('form input[type="radio"][name="_sft_category[]"][value="events"]').removeAttr('checked'); 103
103 } 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="events"]').attr('checked', 'checked').trigger('change'); 107 $('form input[type="radio"][name="_sft_category[]"][value="events"]').attr('checked', 'checked').trigger('change');
106 //$('form input[type="radio"][name="_sft_category[]"][value="news"]').removeAttr('checked'); 108
107 } 109 }
108 }); 110 });
109 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.533 5 Version: 1.0.534
6 */ 6 */
...\ No newline at end of file ...\ No newline at end of file
......