mod_assign/grading_actions

Javascript controller for the "Actions" panel at the bottom of the page.

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

Classes

mod_assign/grading_actions

Methods

(inner) collapseGradePanel()

Source:

Show/Hide the grade panel.

(inner) collapseReviewPanel()

Source:

Hide the review panel.

(inner) expandAllPanels()

Source:

Return the layout to default.

(inner) getCollapseGradePanelButton() → {jQuery}

Source:

Get the collapse grade panel button.

Returns:
Type
jQuery

(inner) getCollapseReviewPanelButton() → {jQuery}

Source:

Get the collapse review panel button.

Returns:
Type
jQuery

(inner) getExpandAllPanelsButton() → {jQuery}

Source:

Get the expand all panels button.

Returns:
Type
jQuery

(inner) getReviewPanelElement() → {jQuery}

Source:

Get the review panel element.

Returns:
Type
jQuery

(inner) hasReviewPanelElement() → {bool}

Source:

Check if the page has a review panel.

Returns:
Type
bool

(inner) registerEventListeners()

Source:

Register event listeners for the grade panel.

(inner) resetLayoutButtons()

Source:

Remove the active state from all layout buttons.