0bdbeed5 by Jeff Balicki

fr search

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 7abab227
...@@ -20755,7 +20755,7 @@ ...@@ -20755,7 +20755,7 @@
20755 var Search = function ($) { 20755 var Search = function ($) {
20756 function init() { 20756 function init() {
20757 $(".searchandfilter ul li:contains('hidden')").hide(); 20757 $(".searchandfilter ul li:contains('hidden')").hide();
20758 $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child ')); 20758 $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" ></li>').appendTo(jQuery('#advance-search-modal .searchandfilter ul:first-child '));
20759 $(document).on("click", ".search-filter-reset-custom", function (e) { 20759 $(document).on("click", ".search-filter-reset-custom", function (e) {
20760 e.preventDefault(); 20760 e.preventDefault();
20761 $(this).closest('.searchandfilter')[0].reset(); 20761 $(this).closest('.searchandfilter')[0].reset();
...@@ -20769,6 +20769,7 @@ ...@@ -20769,6 +20769,7 @@
20769 $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function (e) { 20769 $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function (e) {
20770 $('#advance-search-modal .searchandfilter').hide(); 20770 $('#advance-search-modal .searchandfilter').hide();
20771 $('[data-sf-form-id="399"]').trigger("submit"); 20771 $('[data-sf-form-id="399"]').trigger("submit");
20772 $('[data-sf-form-id="1145"]').trigger("submit");
20772 $('.searching-loading').show(); 20773 $('.searching-loading').show();
20773 setTimeout(() => { 20774 setTimeout(() => {
20774 window.location.href = window.location.href; 20775 window.location.href = window.location.href;
......
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.
...@@ -8,7 +8,7 @@ var Search = (function($) { ...@@ -8,7 +8,7 @@ var Search = (function($) {
8 function init() { 8 function init() {
9 9
10 $(".searchandfilter ul li:contains('hidden')").hide(); 10 $(".searchandfilter ul li:contains('hidden')").hide();
11 $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" "></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) ); 11 $('<li class="sf-field-reset"><input type="submit" class="search-filter-reset-custom" value="CLEAR ALL" ></li>').appendTo( jQuery( '#advance-search-modal .searchandfilter ul:first-child ' ) );
12 12
13 $(document).on("click", ".search-filter-reset-custom", function(e){ 13 $(document).on("click", ".search-filter-reset-custom", function(e){
14 e.preventDefault(); 14 e.preventDefault();
...@@ -26,6 +26,7 @@ var Search = (function($) { ...@@ -26,6 +26,7 @@ var Search = (function($) {
26 $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function(e){ 26 $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function(e){
27 $('#advance-search-modal .searchandfilter').hide(); 27 $('#advance-search-modal .searchandfilter').hide();
28 $('[data-sf-form-id="399"]').trigger("submit"); 28 $('[data-sf-form-id="399"]').trigger("submit");
29 $('[data-sf-form-id="1145"]').trigger("submit");
29 $('.searching-loading').show(); 30 $('.searching-loading').show();
30 setTimeout(() => { 31 setTimeout(() => {
31 window.location.href = window.location.href 32 window.location.href = window.location.href
...@@ -34,7 +35,6 @@ var Search = (function($) { ...@@ -34,7 +35,6 @@ var Search = (function($) {
34 35
35 36
36 $(document).on("click", ".advance-search-button", function(e){ 37 $(document).on("click", ".advance-search-button", function(e){
37
38 $('#search-box-content').addClass('show'); 38 $('#search-box-content').addClass('show');
39 $('.search-box').addClass('show'); 39 $('.search-box').addClass('show');
40 $('.badge').hide(); 40 $('.badge').hide();
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
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.509 5 Version: 1.0.510
6 */ 6 */
7 7
......