OTRS API Reference JavaScript

Namespace: Core.Agent.TableFilters

Core.Agent. TableFilters

This namespace contains the special module functions for the table filters.
Author:
  • OTRS AG
Source:

Methods

(static) Init()

This function initializes the special module functions.
Source:

(static) InitCustomerIDAutocomplete($Input)

Initialize autocompletion for CustomerID.
Parameters:
Name Type Description
$Input jQueryObject Input element to add auto complete to.
Source:

(static) InitCustomerUserAutocomplete($Input)

Initialize autocompletion for Customer User.
Parameters:
Name Type Description
$Input jQueryObject Input element to add auto complete to.
Source:

(static) InitUserAutocomplete($Input, Subaction)

Initialize autocompletion for User.
Parameters:
Name Type Description
$Input jQueryObject Input element to add auto complete to.
Subaction String Subaction to execute, "SearchCustomerID" or "SearchCustomerUser"
Source:

(static) RegisterUpdatePreferences($ClickedElement, ElementID, $Form)

This function binds a click event on an html element to update the preferences of the given dahsboard widget.
Parameters:
Name Type Description
$ClickedElement jQueryObject The jQuery object of the element(s) that get the event listener
ElementID String The ID of the element whose content should be updated with the server answer
$Form jQueryObject The jQuery object of the form with the data for the server request
Source:

(static) SetAllocationList(Name)

Initialize allocation list.
Parameters:
Name Type Description
Name String Widget link table object name.
Source: