Solved Auto-Complete with Auto-Submit Textboxes Don't Send Proper AJAX-Submit

This topic has been solved
J

Jaxel

Guest
If you have an auto-complete textbox with auto-submit, within an ajax-submit form, ajax-submit will not be processed when clicking on an auto-complete entry.

Issue is explained here:
XF 2.3 - Usernames AC AutoSubmit Behavior Oddities

Fix is below: In js\xf\core_handlers.js line 2212:
Code:

Code:
			if (this.options.autosubmit)
			{
				this.target.closest('form').submit()
			}

This should actually be:
Code:

Code:
			if (this.options.autosubmit)
			{...

Read more

Continue reading...