mod_assign/participant_selector

Description:
  • Custom auto-complete adapter to load users from the assignment list_participants webservice.

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

Custom auto-complete adapter to load users from the assignment list_participants webservice.

Methods

(inner) processResults(selector, data) → {Array}

Description:
  • Process the results returned from transport (convert to value + label)

Source:
Parameters:
Name Type Description
selector String
data Array
Returns:
Type
Array

(inner) transport(selector, query, success, failure)

Description:
  • Fetch results based on the current query. This also renders each result from a template before returning them.

Source:
Parameters:
Name Type Description
selector String

Selector for the original select element

query String

Current search string

success function

Success handler

failure function

Failure handler