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

Deprecate init_javascript_enhancement() and smartselect code

    XMLWordPrintable

    Details

      Description

      This functionality was previously used in hubs, but it was a half-job only had one implementation (smartselect) and that smartselect was completely broken in boost.

           * This function is designed to add an initialisation call for a JavaScript
           * enhancement that should exist within javascript-static M.form.init_{enhancementname}.
      

      In MDL-57090 we got rid of the core uses of smartselect. We should deprecate this method and remove the JS.

        Attachments

        1. test.php
          0.7 kB
          Dan Poltawski

          Issue Links

            Activity

              People

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              poltawski Dan Poltawski
              Peer reviewer:
              Ankit Agarwal Ankit Agarwal
              Integrator:
              David Monllaó David Monllaó
              Tester:
              John Okely John Okely
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/May/17