mod_assign/participants_selector

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

Methods

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

Source:

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

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

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

Source:

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

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