next up previous contents
Next: index.php 程式修改 Up: 課程 Previous: edit_form.php 課程編輯   Contents

format.js 程式修改

  1. 移除逗點。
    [root@moodle html]# diff -urNwbBE moodle/course/format/weeks/format.js moodle23/course/format/weeks/format.js 
    --- moodle/course/format/weeks/format.js	2012-06-01 17:15:38.000000000 +0800
    +++ moodle23/course/format/weeks/format.js	2012-11-08 15:15:07.000000000 +0800
    @@ -36,8 +36,8 @@
     M.course.format.swap_sections = function(Y, node1, node2) {
         var CSS = {
             COURSECONTENT : 'course-content',
    -        SECTIONADDMENUS : 'section_add_menus',
    -    };
    +        SECTIONADDMENUS : 'section_add_menus'
    +    };//20121108 remove , by Griffin
     
         var sectionlist = Y.Node.all('.'+CSS.COURSECONTENT+' '+M.course.format.get_section_selector(Y));
         // Swap menus
    



2018-08-14