OTRS API Reference JavaScript

Namespace: Core.Agent.Admin.GenericInterfaceMapping

Core.Agent.Admin. GenericInterfaceMapping

This namespace contains the special module functions for the GenericInterface Mapping module.
Author:
  • OTRS AG
Source:

Methods

(static) AddKeyMapping() → {Bool}

This function add a new dialog for a key mapping.
Source:
Returns:
Returns false to prevent event bubbling.
Type
Bool

(static) AddValueMapping(ValueInsert, KeyCounter) → {Bool}

This function adds a new value mapping dialog.
Parameters:
Name Type Description
ValueInsert jQueryObject JQuery object where the new value mapping should be included.
KeyCounter Number the index for the new value mapping.
Source:
Returns:
Returns false to prevent event bubbling.
Type
Bool

(static) Init()

This function initialize module functionality.
Source:

(static) MappingSimpleInit(Params)

This function initialize correctly all other function according to the local language.
Parameters:
Name Type Description
Params Object Initialization and internationalization parameters.
Source:

(static) RemoveValueMapping(Object)

This function removes a new value mapping dialog.
Parameters:
Name Type Description
Object jQueryObject JQuery object where the new value mapping is removed.
Source:

(static) ShowDeleteDialog(IDSelector)

This function shows a confirmation dialog with 2 buttons.
Parameters:
Name Type Description
IDSelector String ID object of the clicked element.
Source:

(static) ToggleMapTo(Object)

This function shows or hide the input text control for MapTo value.
Parameters:
Name Type Description
Object jQueryObject JQuery object used to decide if is, or not necessary to hide the input text control for MapTo value.
Source: