stable

Clone or download

Read-only

Saving program management configuration might not succeed

Two mistakes were made while implementing the save mechanism: * a button is not the only way to submit a form so we cannot hook the click event of the button to handle all submissions * the default behavior of the form submission was not prevented: dependending on the underlying implementation the form might be submitted by the browser before the click hook function is finished resulting in an interrupted PUT request Fixes request #22621: On firefox saving user group can fail Change-Id: I5bd4f014016140be7fccc267851844e1a3f2135b

Modified Files

Name
M plugins/program_management/scripts/admin/src/milestones/submit-configuration-handler.ts +12 −6 Go to diff View file
M plugins/program_management/templates/admin/milestones/admin-configuration-tracker.mustache +2 −1 Go to diff View file