Can't prevent default submit behavior via JS

Trying to work on porting over an add-on to XF 2.3.2 and noticed that form submissions are happening, even if specifying e.preventDefault() and e.preventSubmit = true. I first trigger XF.Alert and see the popup, but immediately after, I see the regular form submission happen.

It looks like I might be running into a similar variation of this issue: Fixed - JS: Can't prevent form from being submitted

Here's a copy of my updated code for 2.3 to...

Read more

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