Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21400 JS improvements META
  3. MDL-23850

Move mform specific JS to separate JS file that can be included only when required.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Forms Library
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      javascript-static currently contains JS that is used only my forms and only when there is either advanced elements or dependencies.
      The JS could easily be moved to a separate forms related JS file that gets included only when needed, and makes use of YUI3.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10