Project: moodle
Issue MDL-35423: Activity chooser links and toolbox links not correctly created if you don't have a wrapper div called #page-content
The AJAX mod chooser links are not created if you don't have a div#page-content in your theme. The CSS selectors that it's looking for are defined at the start of this file: "../course/yui/modchooser/modchooser.js" changing it to: PAGECONTENT : 'body', seems to work and shouldn't impact performance since when used it is narrowed by one of the following: SECTION : 'li.section', SITEMENU : 'div.block_site_main_menu', SITETOPIC : 'div.sitetopic'
Story points: 5