OTRS API Reference JavaScript

Namespace: Core.Agent.TicketZoom

Core.Agent. TicketZoom

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

Methods

(static) CheckURLHash()

This function checks if the url hash (representing the current article) has changed and initiates an article load. A change can happen by clicking 'back' in the browser, for example.
Source:

(static) IframeAutoHeight($Iframe)

Set iframe height automatically based on real content height and default config setting.
Parameters:
Name Type Description
$Iframe jQueryObject The iframe which should be auto-heighted
Source:

(static) Init(Options)

This function initializes the special module functions.
Parameters:
Name Type Description
Options Object The options, mostly defined in SysConfig and passed through.
Properties
Name Type Description
ArticleTableHeight Number The height of the article table. Value is stored in the user preferences.
Source:

(static) LoadArticleFromExternal(ArticleID, WindowObject)

Used in OTRS Business Solution (TM). Loads an article in the Zoom from another window context (e.g. popup).
Parameters:
Name Type Description
ArticleID String The article number of the loaded article
WindowObject Object
Source:

(static) MarkAsSeen(TicketID, ArticleID, Timeoutopt)

Mark an article as seen in frontend and backend.
Parameters:
Name Type Attributes Default Description
TicketID String TicketID of ticket which get's shown.
ArticleID String ArticleID of article which get's shown.
Timeout String <optional>
3000 Timeout in milliseconds
Source:

(static) MarkTicketAsSeen(TicketID)

Mark all articles as seen in frontend and backend. Article Filters will not be considered
Parameters:
Name Type Description
TicketID String TicketID of ticket which gets shown
Source: