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

remove incompatibility between Moodle and Mootools JS framework

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 1.8.2
    • Forms Library
    • None
    • MOODLE_18_STABLE

      To remove errors in the formslib JavaScript I added 3 lines to javascript-static.js. I can't see no problems with those changes. Jamie, might you please check the changes. If hey are ok I will apply them to Moodle 1.8 and 1.9.

      Thanks a lot.

      Index: javascript-static.js
      ===================================================================
      RCS file: /cvsroot/moodle/moodle/lib/javascript-static.js,v
      retrieving revision 1.29.2.3
      diff -r1.29.2.3 javascript-static.js
      91a92,93
      > // change for compatibility with mootools
      > if (!dependons.lenght) continue;
      120a123,124
      > // change for compatibility with mootools
      > if(!el.lenght) continue;
      130a135,136
      > // change for compatibility with mootools
      > if (!dependons.lenght) continue;

            dobedobedoh Andrew Lyons
            urshunkler Urs Hunkler
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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