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

New event button listener does not respect current course

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Major Major
    • None
    • 3.4
    • Calendar

      If you change which course is selected, this isn't respected in the new event dialogue.

      This is because we:

      1. we register the new event button once, on initial page load; therefore
      2. we set the current course Id once, on initial page load

      We need to either:

      1. move the instantiation to be within the wrapper; or
      2. make the setCourseId call lazy.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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