OTRS API Reference JavaScript

Namespace: Core.Agent

Core. Agent

This namespace contains the config options and functions.
Author:
  • OTRS AG
Source:

Namespaces

Admin
CustomerInformationCenterSearch
CustomerSearch
Daemon
Dashboard
LinkObject
Login
Responsive
Search
SortedTree
Statistics
Stats
TableFilters
TicketAction
TicketMerge
TicketProcess
TicketZoom

Members

(static) IECompatibilityMode :Boolean

IE Compatibility Mode is active.
Type:
  • Boolean
Source:

(static) SupportedBrowser :Boolean

Indicates a supported browser.
Type:
  • Boolean
Source:

Methods

(static) CheckSessionExpiredAndReload()

This function reload the page if the session is over and a login form is showed in some part of the current screen.
Source:

(static) Init()

This function initializes the application and executes the needed functions.
Source:

(static) PreferencesUpdate(Key, Value) → {Boolean}

This function sets session and preferences setting at runtime.
Parameters:
Name Type Description
Key jQueryObject The name of the setting.
Value jQueryObject The value of the setting.
Source:
Returns:
returns true.
Type
Boolean

(static) ReorderNavigationItems(NavbarCustomOrderItems)

This function re-orders the navigation items based on the users preferences.
Parameters:
Name Type Description
NavbarCustomOrderItems Array
Source:

(static) ResizeNavigationBar(RealResizeEvent)

This function checks if the navigation bar needs to be resized and equipped with slider navigation buttons. This can only happen if there are too many navigation icons.
Parameters:
Name Type Description
RealResizeEvent Boolean
Source: