core_calendar/event_form

A javascript module to enhance the event form.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Methods

(inner) addCourseGroupSelectListeners(formElement)

Source:

Listen for when the user changes the group course when configuring a group event and filter the options in the group select to only show the groups available within the course the user has selected.

Parameters:
Name Type Description
formElement object

The root form element

(inner) init(formId)

Source:

Initialise all of the form enhancements.

Parameters:
Name Type Description
formId string

The value of the form's id attribute