mod_assign/grading_actions

Description:
  • 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

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

Classes

mod_assign/grading_actions

Methods

(inner) collapseGradePanel()

Description:
  • Show/Hide the grade panel.

Source:

(inner) collapseReviewPanel()

Description:
  • Hide the review panel.

Source:

(inner) expandAllPanels()

Description:
  • Return the layout to default.

Source:

(inner) getCollapseGradePanelButton() → {jQuery}

Description:
  • Get the collapse grade panel button.

Source:
Returns:
Type
jQuery

(inner) getCollapseReviewPanelButton() → {jQuery}

Description:
  • Get the collapse review panel button.

Source:
Returns:
Type
jQuery

(inner) getExpandAllPanelsButton() → {jQuery}

Description:
  • Get the expand all panels button.

Source:
Returns:
Type
jQuery

(inner) getReviewPanelElement() → {jQuery}

Description:
  • Get the review panel element.

Source:
Returns:
Type
jQuery

(inner) hasReviewPanelElement() → {bool}

Description:
  • Check if the page has a review panel.

Source:
Returns:
Type
bool

(inner) registerEventListeners()

Description:
  • Register event listeners for the grade panel.

Source:

(inner) resetLayoutButtons()

Description:
  • Remove the active state from all layout buttons.

Source: