This namespace contains the special module functions for TicketZoom.
- 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 $IframejQueryObject The iframe which should be auto-heighted - Source:
-
(static) Init(Options)
-
This function initializes the special module functions.
Parameters:
Name Type Description OptionsObject The options, mostly defined in SysConfig and passed through. Properties
Name Type Description ArticleTableHeightNumber 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 ArticleIDString The article number of the loaded article WindowObjectObject - Source:
-
(static) MarkAsSeen(TicketID, ArticleID, Timeoutopt)
-
Mark an article as seen in frontend and backend.
Parameters:
Name Type Attributes Default Description TicketIDString TicketID of ticket which get's shown. ArticleIDString ArticleID of article which get's shown. TimeoutString <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 TicketIDString TicketID of ticket which gets shown - Source: