Reply To: Action when pressing the return button set to: Redirect to: Results page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Action when pressing the return button set to: Redirect to: Results page Reply To: Action when pressing the return button set to: Redirect to: Results page

#12578

Ernest Marcinko
Keymaster

Hi,

Indeed, I was able to re-create the issue on my test environment as well. The search button on the keyboard does not redirect for some reason. I will investigate this in more detail, until then I've quickly put together a temporary solution.

Place this code to the functions.php file in your active theme directory:

It works on my test environments, I'm not sure how viable this bypass is though. It's better than nothing I guess. I'm not looking forward to investigate the issue though. It's 2017, and there is still no universal way of detecting mobile devices, nor properly handling events with javascript 🙁

Best,
Ernest Marcinko

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