From 9ec5ee51688d6229ac18fb4cd7bb1bfc79438fac Mon Sep 17 00:00:00 2001 From: Adrian Greeve Date: Wed, 23 May 2012 16:13:32 +0800 Subject: [PATCH] MDL-33146 - course - Changed weekdates to sectionname to fix a JavaScript error --- course/format/weeks/format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/format/weeks/format.js b/course/format/weeks/format.js index 28aed42aa42..159f94bf777 100644 --- a/course/format/weeks/format.js +++ b/course/format/weeks/format.js @@ -38,7 +38,7 @@ M.course.format.swap_sections = function(Y, node1, node2) { COURSECONTENT : 'course-content', LEFT : 'left', SECTIONADDMENUS : 'section_add_menus', - WEEKDATES: 'weekdates' + WEEKDATES: 'sectionname' }; var sectionlist = Y.Node.all('.'+CSS.COURSECONTENT+' '+M.course.format.get_section_selector(Y));