Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36626 Meta: Ical Bug fixes and improvments
  3. MDL-36341

Calendar popup event are not displayed any more

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.5
    • Fix Version/s: 2.4.1
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. Make sure there is a calendar block on the frontpage.
      3. Browse to the calendar and add an event to the tomorrow.
      4. Browse back to the front page.
      5. Mouse over tomorrow in the calendar box.
      6. Make sure you see a popup.
      Show
      Log in as an admin Make sure there is a calendar block on the frontpage. Browse to the calendar and add an event to the tomorrow. Browse back to the front page. Mouse over tomorrow in the calendar box. Make sure you see a popup.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-36341-m24

      Description

      This is a regression caused by MDL-16660, commit 4c349ad7.

      1. Create some calendar events
      2. Go to a page where the calendar block is displayed
      3. Mouse over some events

      Expected

      • A popup is displayed with events info

      Actual

      • Nothing happens

      Reverting this should work:

      // calendar/yui/eventmanager/eventmanager.js
      -                    var n = Y.one(node);
      -                    if (!n) {
      -                        Y.fail(ENAME+': invalid event node set');
      -                    }
      +                    var n = Y.one('#'+node);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              fred Frédéric Massart
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/13