qbank_columnsortorder/admin_actions

Description:
  • Javascript for handling actions on the admin page

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

Javascript for handling actions on the admin page

Members

(static, constant) init

Description:
  • Initialize module

    Set up event handlers for the action buttons, width fields and initialise column sorting.

Source:

Initialize module

Set up event handlers for the action buttons, width fields and initialise column sorting.

Methods

(inner) setupSaveWidths(listRoot)

Description:
  • Event handler to save the custom column widths when a field is edited.

Source:
Parameters:
Name Type Description
listRoot Element

The root element of the list of columns.