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

Jaxel

Well-known member
Affected version
2.3.0
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:

Fix is below: In js\xf\core_handlers.js line 2212:
Code:
			if (this.options.autosubmit)
			{
				this.target.closest('form').submit()
			}

This should actually be:
Code:
			if (this.options.autosubmit)
			{
				XF.trigger(this.target.closest('form'), 'submit');
			}
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.1).

Change log:
Fix event handling on auto-complete autosubmission
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom