When another form is on the page, the js to submit the form is too liberal, and the other form may be submitted instead.
Patch attempts to address this with a more precise selector.

Comments

alanburke created an issue. See original summary.

alanburke’s picture

alanburke’s picture

Status: Active » Postponed (maintainer needs more info)
imyaro’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new528 bytes
new412 bytes

Hello,
@alanburke seems you have an invalid HTML structure - the problem could appear only if you got a <form> inside a <form>
Anyway it has to be fixed some other way - using .closest() is more preferably there

Added patches for 7 and 8 versions

kala4ek’s picture

Assigned: alanburke » kala4ek

  • kala4ek committed 507c5fb on 7.x-2.x authored by zvse
    Issue #2953065 by zvse, alanburke, kala4ek: Javascript for submitting...

  • kala4ek committed 676f1ff on 8.x-2.x authored by zvse
    Issue #2953065 by zvse, alanburke, kala4ek: Javascript for submitting...
kala4ek’s picture

Assigned: kala4ek » Unassigned
Status: Needs review » Fixed

Fixes committed. Thanks for the report and for patches.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.