mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
This fix is a horrible hack, but one I have used for years in tool_editrolesbycap https://github.com/moodleou/moodle-tool_editrolesbycap/blob/master/yui/capabilityformfield/capabilityformfield.js and it seems to be reliable. As an added bonus, I removed the use of YUI2 here. Also, I fixed the related button in quiz to be GET not POST.