mod_forum/grades/expandconversation

This module handles the creation of a Modal that shows the user's post in context of the entire discussion.

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

Members

(static, constant) registerEventListeners

Source:

Register event listeners for the expand conversations button.

Methods

(inner) findGradableNode(node) → {HTMLElement}

Source:

Find the Node containing the gradable details from the provided node by searching up the tree.

Parameters:
Name Type Description
node HTMLElement
Returns:
Type
HTMLElement

(async, inner) showPostInContext(rootNode, param)

Source:

Show the post in context in a modal.

Parameters:
Name Type Description
rootNode HTMLElement

The button that has been clicked

param object
Properties
Name Type Attributes Default Description
focusOnClose bool <optional>
null