October: Update or Save button does not lock in modal window on submit.

Created on 31 Oct 2019  路  6Comments  路  Source: octobercms/october

  • OctoberCMS Build: 458
  • PHP Version: 7.2
  • Database Engine: MySQL
  • Plugins Installed: BradieTilley.Forms-v1.3.0, AlexeyBobkov.Pages-v1.3.1

Description:

During a modal window a user can accidentally submit the form multiple times by double-clicking the save or update button. This subsequently results in a double submission of data which leads to duplicate data entries.

Steps To Reproduce:

Open a modal window displaying a form while having the document inspector open on the network tab.
Populate the form with data (this works for inserts and updates)
Double click the save button.
Note the number of post requests generated by click actions.

Completed Maintenance

Most helpful comment

@sjabado Already done :)

Chur Cuzzy!!!!

All 6 comments

Confirmed. (@sarahjabado is a colleague and demonstrated it to me)

This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this issue is still relevant or you would like to see action on it, please respond and we will get the ball rolling.

Just bumping regarding the auto-bot. :)

@sjabado Already done :)

@sjabado Already done :)

Chur Cuzzy!!!!

Good catch! This should be fixed in Build 463+

Was this page helpful?
0 / 5 - 0 ratings