OTRS API Reference JavaScript

Namespace: Core.UI.ActionRow

Core.UI. ActionRow

Action row functionality.
Author:
  • OTRS AG
Source:

Methods

(static) AddActions($Element, JSONString)

This functions adds information about the valid action of an element to the element. These information are used to generate the action row individually for this element.
Parameters:
Name Type Description
$Element jQueryObject The element for which the data is stored.
JSONString String The JSON string which contains the information about the valid actions of the element (generated by Perl module). Could also be an javascript object directly.
Source:

(static) Init()

This function initializes the complete ActionRow functionality and binds all click events.
Source:

(static) UpdateActionRow($ClickedElement, $Checkboxes, $ActionRow)

This function is called on click on the checkbox of an ticket element and updates the action row for this element.
Parameters:
Name Type Description
$ClickedElement jQueryObject jQueryObject of the clicked element (normally $(this)).
$Checkboxes jQueryObject jQueryObject of the checkboxes of the different tickets.
$ActionRow jQueryObject The jQueryObject of the ActionRow wrapper (normally the
    -Element).
Source: