Search Filter Checkboxes & Tabbing Issues

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 mckots87 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #38421
    mckots87
    mckots87
    Participant

    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.
    #38431
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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.
    Thank you!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #38444
    mckots87
    mckots87
    Participant
    You cannot access this content.
    #38449
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank 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:

    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
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #38450
    mckots87
    mckots87
    Participant

    You 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

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.