core_course/resetcourse

Description:
  • Javascript module for resetting a course

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

Javascript module for resetting a course

Members

(static, constant) init

Description:
  • Initialize module

Source:

Initialize module

Methods

(inner) registerEventListeners()

Description:
  • Register events for course reset button.

Source:

(async, inner) resetCourseConfirm(resetButton)

Description:
  • Show the confirmation modal to reset the course.

Source:
Parameters:
Name Type Description
resetButton HTMLElement

the element to delete.