This namespace contains the special module functions for TicketZoom.
- Source:
Methods
-
(static) ArticleActionMenuDropdown(FormID, Name)
-
This function creates onchange open popup event for dropdown html element.
Parameters:
Name Type Description FormID
String ID of html element for which event is created Name
String Name of html element for which event is created - Source:
-
(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()
-
This function initializes the special module functions.
- Source:
-
(static) InitWidgets(AsyncWidgetActions)
-
This function initializes configured asynchronous widgets.
Parameters:
Name Type Description AsyncWidgetActions
Object list of widgets to initialize - 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: