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

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:

Код:
			if (this.options.autosubmit)
			{
				this.target.closest('form').submit()
			}

This should actually be:
Code:

Код:
			if (this.options.autosubmit)
			{...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ