MDL-33683 Determine sectionid for activity chooser at display time
authorAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Wed, 13 Jun 2012 14:16:05 +0000 (15:16 +0100)
committerAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Wed, 20 Jun 2012 09:32:10 +0000 (10:32 +0100)
commitae860173395eb30caac0fbfff8f86120caace11f
treea27300c6a0352c105e3c51226ccda52c9051bb29
parent3262f547fc068aed69e6eb32eddd7891f97a9f92
MDL-33683 Determine sectionid for activity chooser at display time

Rather than calculate the sectionid for the activity chooser on page load,
we do so when opening the chooser. This resolves issues where sections have
been moved without swapping all of the section IDs around.
course/yui/modchooser/modchooser.js