Index: section_classes.js =================================================================== RCS file: /cvsroot/moodle/moodle/lib/ajax/section_classes.js,v retrieving revision 1.35 diff -u -r1.35 section_classes.js --- section_classes.js 27 Aug 2007 16:59:05 -0000 1.35 +++ section_classes.js 7 Nov 2007 11:58:01 -0000 @@ -47,6 +47,11 @@ this.handle = null; } + this.isWeekFormat = false; + if (YAHOO.util.Dom.hasClass(this.getEl().parentNode,'weeks')) { + this.isWeekFormat = true; + } + this.createFrame(); this.isTarget = true;