Project: moodle
Issue MDL-37023: Dock JS incorrectly parses region ID
M.core_dock.resizeBlockSpace() in blocks/dock.js expects all region IDs to be "region-SOMETHING", like "region-pre" In the theme/base/layout/report.php, the region ID is actually "report-region-pre". So, when M.core_dock.resizeBlockSpace() goes to manage the "side-pre-only" class in the body tag, it actually starts adding/removing "report-region-pre-only" class. This is due to the regex processing the region ID.
Story points: 13