moodle/lib/form/classes
sam marshall 225eb7b27e MDL-66679 Forms: Submit button remains disabled after file download
When you download a file directly from a Moodle form submit button,
the submit button disables when you click it, but you remain on that
page so we need to re-enable the button.

This commit causes it to re-enable once the file download finishes,
setting a temporary cookie to indicate this to the JavaScript code.

It also adds a method to disable the system on a given form by
setting data-double-submit-protection="off".
2019-10-30 16:36:28 +00:00
..
privacy MDL-62315 form: Implement the privacy API for core_form subsystem 2018-05-03 19:05:39 +02:00
external.php MDL-53240 filetypes: Enhance the filetypes element with a types browser 2017-06-01 09:20:07 +02:00
filetypes_util.php MDL-59507 forms: accepted file types won't allow the .xxx extension 2017-09-18 09:03:00 +08:00
util.php MDL-66679 Forms: Submit button remains disabled after file download 2019-10-30 16:36:28 +00:00