OTRS API Reference JavaScript

Namespace: Core.Agent

Core. Agent

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

Namespaces

Admin
AppointmentCalendar
CustomerInformationCenter
CustomerInformationCenterSearch
CustomerSearch
CustomerSearchAutoComplete
CustomerUserAddressBook
CustomerUserInformationCenter
CustomerUserInformationCenterSearch
Daemon
Dashboard
Header
LinkObject
Login
Overview
Preferences
Responsive
Search
SharedSecretGenerator
SortedTree
Statistics
Stats
TableFilters
TicketAction
TicketActionCommon
TicketBounce
TicketBulk
TicketCompose
TicketEmail
TicketEmailOutbound
TicketEmailResend
TicketForward
TicketHistory
TicketMerge
TicketMove
TicketPhone
TicketPhoneCommon
TicketProcess
TicketSplit
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) InitPagination()

This function initialize Pagination
Source:

(static) PreferencesUpdate(Key, Value, SuccessCallback) → {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.
SuccessCallback function Callback function to be executed on AJAX success (optional).
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:

(static) ShowOTRSBusinessRequiredDialog()

This function shows OTRSBusiness upgrade dialog.
Source: