- Description:
This module adds ajax search functions to the template library page.
- Source:
- Copyright:
- 2015 Damyon Wiese
- 2015 Damyon Wiese
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
This module adds ajax search functions to the template library page.
Methods
(inner) queueRefresh(callback, delay)
- Description:
Call the specified function after a delay. If this function is called again before the function is executed, the function will only be executed once.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | |
delay |
Number | The time in milliseconds to delay. |
(inner) refreshSearch(themename)
- Description:
Get the current values for the form inputs and refresh the list of matching templates.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
themename |
String | The naeme of the theme. |
(inner) reloadListTemplate(templateList)
- Description:
The ajax call has returned with a new list of templates.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
templateList |
Array.<String> | List of template ids. |