OTRS API Reference JavaScript

Namespace: Core.Agent.Admin.NotificationEvent

Core.Agent.Admin. NotificationEvent

This namespace contains the special module functions for the Notification Event module.
Author:
  • OTRS AG
Source:

Methods

(static) AddLanguage(LanguageID, Language) → {Bool}

This function add a new notification event language.
Parameters:
Name Type Description
LanguageID string short name of the language like es_MX.
Language string full name of the language like Spanish (Mexico).
Source:
Returns:
Returns false to prevent event bubbling.
Type
Bool

(static) Init()

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

(static) LanguageSelectionRebuild() → {Boolean}

This function rebuilds language selection, only show available languages.
Source:
Returns:
Returns true.
Type
Boolean

(static) RemoveLanguage(Object)

This function removes a notification event language.
Parameters:
Name Type Description
Object jQueryObject JQuery object used to remove the language block
Source: