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

Conditional availability system should use AMD instead of YUI

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.8.4, 3.9.1
    • JavaScript, Restrict access

      The core of the conditional availability system is implemented in YUI, so condition plugins are forced to use YUI.

      It woudl be nice if this could all be re-coded in AMD (with fallback so that condition plugins with their code in YUI are still supported).

      This would:

      • Make it possible for new availability plugins to be developed in AMD.
      • Generally clean up the JavaScript in this part of Moodle.

      This might be a separate issue, or might be something to fix at the same time as this issue, but at the moment, the Teacher UI on the edit activity form is generally constructed by concatenating strings to create the HTML. It would be nice if this could be done with a mustache template.

            Unassigned Unassigned
            timhunt Tim Hunt
            Votes:
            20 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:

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