Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search Filter Checkboxes & Tabbing Issues
This topic contains 4 replies, has 2 voices, and was last updated by mckots87 8 months, 1 week ago.
- AuthorPosts
- July 14, 2022 at 5:19 pm #38421
Hi Ernesto,
I just updated to your latest version and I noticed 2 issues happening:
1. The checkbox checkmark icons for our filters are now not showing up in any browsers for our attorney directory search (screenshot attached) and here is the URL again: https://chicagocommittee.org/attorney-listings/
2. The custom function you created for me previously to automatically tab to the end of a query suggestion, is now not working. I’m copying the original code you sent me below. Thank you so much!
/**
* Ajax search tabbing
*/add_action(‘wp_footer’, ‘asp_tab_trigger_right’);
function asp_tab_trigger_right() {
?>
<script>
jQuery(function($){
$(‘input.orig’).on(‘keydown’, function(e){
var kc = e.which || e.keyCode;
if ( kc == 9 ) {
e.preventDefault();
var ev = jQuery.Event(“keyup”);
ev.which = 39;
$(this).trigger(ev);
}
});
});
</script>
<?php
}Attachments:
You must be logged in to view attached files.July 15, 2022 at 8:54 am #38431Hi,
Can you pelase add temporary FTP and back-end details? I need to check why the font file is missing from the queue, which renders the “tick” icon. I could not replicate it on any of our test servers, so it is either a new bug or the update process failed at some point.
Best,
Thank you!
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 15, 2022 at 1:33 pm #38444You cannot access this content.July 17, 2022 at 3:53 pm #38449Thank you very much!
I managed to find the bug and fix it, the fix will be included in the upcoming release. It was only present with very specific configurations only, it went under our radars.
I also corrected the custom code, the tabbing should now work. For reference, the correct code is:
Best,add_action('wp_footer', 'asp_tab_trigger_right'); function asp_tab_trigger_right() { ?> <script> jQuery(function($){ $('input.orig').on('keydown', function(e){ var kc = e.which || e.keyCode; if ( kc == 9 ) { e.preventDefault(); var ev = new Event('keyup'); ev.which = 39; this.dispatchEvent(ev); } }); }); </script> <?php }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 17, 2022 at 4:35 pm #38450You rock as always! Thank you so much Ernest. Just FYI, im going to reply to my previous ticket about the dups issue, with some question for you.
I really appreciate this again!
Mike
- AuthorPosts
You must be logged in to reply to this topic.