aeded973 by Jeff Balicki

QA

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent bfe7cb87
...@@ -20731,13 +20731,19 @@ ...@@ -20731,13 +20731,19 @@
20731 $('#full-width-page-wrapper #content').css('opacity', '0'); 20731 $('#full-width-page-wrapper #content').css('opacity', '0');
20732 setTimeout(() => { 20732 setTimeout(() => {
20733 window.location.href = window.location.href; 20733 window.location.href = window.location.href;
20734 }, "5000"); 20734 }, "1000");
20735 }); 20735 });
20736 $(document).on("click", ".advance-search-button", function (e) { 20736 $(document).on("click", ".advance-search-button", function (e) {
20737 $('#search-box-content').addClass('show'); 20737 $('#search-box-content').addClass('show');
20738 $('.search-box').addClass('show'); 20738 $('.search-box').addClass('show');
20739 $('.badge').hide(); 20739 $('.badge').hide();
20740 }); 20740 });
20741 $(document).on("click", ".advance-search-button-footer", function (e) {
20742 $('#search-box-content').addClass('show');
20743 $('.search-box').addClass('show');
20744 $('#advance-search-modal').modal('show');
20745 $('.badge').hide();
20746 });
20741 var myModal = document.getElementById('advance-search-modal'); 20747 var myModal = document.getElementById('advance-search-modal');
20742 if (myModal) { 20748 if (myModal) {
20743 myModal.addEventListener('hidden.bs.modal', function () { 20749 myModal.addEventListener('hidden.bs.modal', function () {
......
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.
...@@ -94,5 +94,6 @@ if ($thumbnail_image && isset($thumbnail_image[0])) { ...@@ -94,5 +94,6 @@ if ($thumbnail_image && isset($thumbnail_image[0])) {
94 94
95 </div><!-- #full-width-page-wrapper --> 95 </div><!-- #full-width-page-wrapper -->
96 <?php the_field('pre_footer', 'option'); ?> 96 <?php the_field('pre_footer', 'option'); ?>
97 <div class="overlay"></div>
97 <?php 98 <?php
98 get_footer(); 99 get_footer();
......
...@@ -90,6 +90,6 @@ get_header(); ...@@ -90,6 +90,6 @@ get_header();
90 </div><!-- #content --> 90 </div><!-- #content -->
91 91
92 </div><!-- #search-wrapper --> 92 </div><!-- #search-wrapper -->
93 93 <div class="overlay"></div>
94 <?php 94 <?php
95 get_footer(); 95 get_footer();
......
...@@ -76,18 +76,18 @@ var Search = (function($) { ...@@ -76,18 +76,18 @@ var Search = (function($) {
76 } 76 }
77 }); 77 });
78 78
79 79
80 80
81 $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function(e){ 81 $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function(e){
82 $('#advance-search-modal .searchandfilter').hide(); 82 $('#advance-search-modal .searchandfilter').hide();
83 $('[data-sf-form-id="399"]').trigger("submit"); 83 $('[data-sf-form-id="399"]').trigger("submit");
84 //$('[data-sf-form-id="102"]').trigger("submit"); 84 //$('[data-sf-form-id="102"]').trigger("submit");
85 $('.searching-loading').show(); 85 $('.searching-loading').show();
86 $('.overlay').show(); 86 $('.overlay').show();
87 $('#full-width-page-wrapper #content').css('opacity', '0'); 87 $('#full-width-page-wrapper #content').css('opacity', '0');
88 setTimeout(() => { 88 setTimeout(() => {
89 window.location.href = window.location.href 89 window.location.href = window.location.href
90 }, "5000"); 90 }, "1000");
91 }); 91 });
92 92
93 93
...@@ -96,6 +96,13 @@ var Search = (function($) { ...@@ -96,6 +96,13 @@ var Search = (function($) {
96 $('.search-box').addClass('show'); 96 $('.search-box').addClass('show');
97 $('.badge').hide(); 97 $('.badge').hide();
98 }); 98 });
99
100 $(document).on("click", ".advance-search-button-footer", function(e){
101 $('#search-box-content').addClass('show');
102 $('.search-box').addClass('show');
103 $('#advance-search-modal').modal('show');
104 $('.badge').hide();
105 });
99 106
100 var myModal = document.getElementById('advance-search-modal'); 107 var myModal = document.getElementById('advance-search-modal');
101 108
......
...@@ -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.39 5 Version: 1.0.40
6 */ 6 */
...\ No newline at end of file ...\ No newline at end of file
......