OTRS API Reference JavaScript

Namespace: Core.Agent.Admin.ServiceCatalogue.Items

Items

This namespace contains the special module functions for the service catalogue items module.
Author:
  • OTRS AG

Methods

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

This function add a new custom page content 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).
Returns:
Returns false to prevent event bubbling.
Type
Bool

(static) Init()

This function initialize the screen behavior.

(static) LanguageSelectionRebuild() → {Boolean}

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

(static) RemoveLanguage(Object)

This function removes an item content language.
Parameters:
Name Type Description
Object jQueryObject JQuery object used to remove the language block