Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9306

Main course formats need to have tables removed but keep AJAX working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0
    • 1.8
    • Accessibility, JavaScript
    • None
    • MOODLE_18_STABLE
    • MOODLE_20_STABLE

      The current main course formats currently use tables for layout

      course/format/topics
      course/format/weeks

      which the AJAX course editing functionality (eg Turn Editing on) relies upon (because of the DOM).

      These formats need to to be changed to use a DIV+CSS only structure exactly like

      course/format/weekscss

      And since weekscss will be deprecated it needs to be deleted and all courses using it can be changed to simply "weeks".

      The main issue though is that AJAX will no longer work because of the changed DOM.

      Someone needs to fix the AJAX so that it will work on these formats exactly as it does now.

        1. courseformats.tar
          43 kB
        2. csscourseformatpatch.txt
          7 kB
        3. cssformatpatch.txt
          5 kB
        4. cssformats.tar
          38 kB
        5. moodle2_tableless_course.png
          moodle2_tableless_course.png
          116 kB
        6. Musik WDH 2CB.doc
          26 kB

            moodle.com Moodle HQ
            dougiamas Martin Dougiamas
            Nobody Nobody
            Votes:
            7 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.