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

Data Module JavaScript Templates Not Working

XMLWordPrintable

    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      It is not possible to use JavaScript templates in the data module because they rely on using $PAGE->requires->js() to include the file js.php. There is a specific check in lib/javascript.php that prohibits the use of any file not ending in '.js', so this doesn't work.

            skodak Petr Skoda
            anthonyforth Anthony Forth (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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