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

Missing semicolon in yui_module JS code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.4, 2.1.1
    • 2.0.3
    • Libraries

      Missing semicolon when the yui_module function is called and $ondomready is false. This creates big problems if you follow that statement with javascript like this: (function(Y)

      { ...do something... }

      )(Y); Because it then thinks you are trying to call the yui_module code as a function. Attaching patch for the fix.

            skodak Petr Skoda
            bushido Mark Nielsen (Inactive)
            Sam Hemelryk Sam Hemelryk
            Marina Glancy Marina Glancy
            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.