mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
344936ae48
If the submit event listener is not correctly closed, then the submit event calls the relevant callback multiple times incorrectly. When hiding the Add role dialogue, we need to detach any event listeners which are applied to it.