Uploaded image for project: 'Mocca Calendar Application'
  1. Mocca Calendar Application
  2. MOCCACAL-99

Ical Links not injected for non-terminal calendars

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6, 2.5.2
    • 2.5.1
    • ical

    Description

      On my development instance (MoccaCal 2.5.1, XWiki 7.4.2) the "ical" link in the calendar overview stops being injected at the first non-terminal calendar page.

      See screenshot; the "Other Events" and "A Terminal" are terminal calendar pages; the "New Calendar" is the first non-terminal calendar in the list.

      After embedding the MoccaiCalendar.Service javascript in a non-minified way the JS error shows in line 6:

       TypeError: $(...).find(...)[0] is undefined
      	var calendarLink = $(this).find("td a")[0].attributes.href.value
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: