Page Incomplete Prompt is an extension that displays a prompt if you try to leave a page without having completed all required components.
Page Incomplete Prompt can be configured globally in course.json, or per page in contentObjects.json. The contentObjects.json setting will override whatever is in course.json.
All configuration options must be added and amended, where appropriate, for all JSON files.
The following attributes are set within course.json.
The Page Incomplete Prompt object contains the following settings:
Controls whether the extension is enabled
The title of the prompt popup
The message body of the prompt popup
CSS class names to be applied to the prompt popup. The class must be predefined in one of the Less files. Separate multiple classes with a space.
This object contains the following settings:
The text that appears on the 'yes' confirmation button
The text that appears on the 'no' button
The following attributes are set within contentObjects.json.
The Page Incomplete Prompt object contains the following settings:
Controls whether the extension is enabled for the page
No known limitations.
Author / maintainer: CGKineo
Accessibility support: WAI AA
RTL support: Yes
Cross-platform coverage: Chrome, Chrome for Android, Firefox (ESR + latest version), Edge, Safari for macOS/iOS/iPadOS, Opera