Index: section_classes.js =================================================================== RCS file: /cvsroot/moodle/moodle/lib/ajax/section_classes.js,v retrieving revision 1.32.2.2 diff -u -r1.32.2.2 section_classes.js --- section_classes.js 27 Aug 2007 17:27:00 -0000 1.32.2.2 +++ section_classes.js 7 Nov 2007 12:06:54 -0000 @@ -47,6 +47,11 @@ this.handle = null; } + this.isWeekFormat = false; + if (YAHOO.util.Dom.hasClass(this.getEl().offsetParent, 'weeks')) { + this.isWeekFormat = true; + } + this.createFrame(); this.isTarget = true;