- Description:
Handle add/remove competency links.
- Source:
- Copyright:
- 2015 Damyon Wiese
- 2015 Damyon Wiese
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Handle add/remove competency links.
Classes
Methods
(inner) deleteHandler(deleteid)
- Description:
Show a confirm dialogue before deleting a competency.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deleteid |
int | The id of record to delete. |
(inner) doDelete(deleteid)
- Description:
Delete the link between competency and course, template or plan. Reload the page.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
deleteid |
int | The id of record to delete. |
(inner) handleDrop(drag, drop)
- Description:
Handle a drop from a drag/drop operation.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
drag |
DOMNode | The dragged node. |
drop |
DOMNode | The dropped on node. |
(inner) pickCompetency() → {Promise}
- Description:
Pick a competency
- Source:
Returns:
- Type
- Promise
(inner) registerDragDrop()
- Description:
Initialise the drag/drop code.
- Source:
(inner) registerEvents()
- Description:
Register the javascript event handlers for this page.
- Source: