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

Possible javascript errors when using lib/form/yui/dateselector/dateselector.js

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 2.2
    • Libraries
    • MOODLE_22_STABLE

      The function initPanel in this module makes a call to YAHOO.widget.Calendar without ensuring the YAHOO global object is defined. This can result in errors in Internet Explorer that can interfere with other javascript functionality on the page.

      It's not 100% clear that this bug does not result from a misuse of the script, but assigning the YAHOO variable to Y.YUI2 at the top of that function fixed our problem.

            moodle.com Moodle HQ
            moodleden Dennis Heaney
            Votes:
            0 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.