Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-2727 META - Question type plugins are not completely pluginable
  3. MDL-6369

Question types cannot easily define their own JavaScript functions

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7
    • 1.9
    • Questions
    • None
    • MOODLE_17_STABLE
    • MOODLE_19_STABLE

    Description

      Any javascript that a question type wants has to be written inline in the HTML. It would be better if each qtype was allowed a .js file that was automatically loaded by any page where that qtype was displayed or edited. (We should also ensure that YUI is always available to qtypes).

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08