OTRS API Reference JavaScript

Namespace: Core.Agent.Admin.GenericAgentEvent

Core.Agent.Admin. GenericAgentEvent

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

Members

(static) DragActivityItem :Bool

DragActivityItem.
Type:
  • Bool
Source:

(static) DragTransitionAction :Bool

DragTransitionAction.
Type:
  • Bool
Source:

(static) DragTransitionActionTransition :Object

DragTransitionActionTransition.
Type:
  • Object
Source:

Methods

(static) AddEvent(EventType)

This function calls the AddEvent action on the server.
Parameters:
Name Type Description
EventType String The type of event trigger to assign to a job i.e. ticket or article.
Source:

(static) Init()

This function initialize correctly all other function according to the local language.
Source:

(static) InitRemoveButtonEvent($Element, AddFieldsID)

Initializes remove button click event.
Parameters:
Name Type Description
$Element String jQuery element with 'RemoveButton' class.
AddFieldsID String ID of dropdown where dynamic field has to be added back.
Source:

(static) InsertDynamicField(Widget, Value)

Initializes remove button click event.
Parameters:
Name Type Description
Widget String Widget where insert action occurs.
Value String value selected from dropdown.
Source:

(static) ShowDeleteEventDialog(Event, Object)

This function shows a confirmation dialog with 2 buttons.
Parameters:
Name Type Description
Event EventObject Object of the clicked element.
Object jQueryObject
Source:

(static) ShowDuplicatedDialog()

This function shows an alert dialog for duplicated entries.
Source:

(static) ToggleEventSelect(SelectedEventType)

Toggles the event selection.
Parameters:
Name Type Description
SelectedEventType String Event Type.
Source: