tripleo-ui/src/js/components/nodes
Florian Fuchs 8d40ed773b Fix nodes actions toolbar
An additional span inside the nodes toolbar, added by the i18n
FormattedMessage component, breaks the toolbar by changing the click
event target to the span element; because the span element doesn't
contain the "name" attribute needed to determine the appropriate action.

This patch adds a small method to lookup the closest name attribute
(either on the element or the parent elements), so both buttons with and
without a FormattedMessage of them will work.

Change-Id: I7c565da8bf2f5040ff99b13f02cb0a7f4c07637f
Closes-Bug: #1671100
2017-03-09 13:27:26 +01:00
..
driver_fields Add i18n to node driver fields 2017-02-13 10:31:48 +00:00
tag_nodes Nodes Table tagging 2017-02-06 16:46:16 +01:00
DeployedNodesTabPane.js Add Roles selector 2017-01-20 16:47:00 +01:00
MaintenanceNodesTabPane.js Add Roles selector 2017-01-20 16:47:00 +01:00
Nodes.js Add i18n to nodes page and buttons 2017-02-13 16:32:02 +00:00
NodesTable.js Add i18n to Nodes table 2017-02-22 10:34:12 -05:00
RegisterNodeForm.js Add i18n to Register Nodes form 2017-02-15 12:52:17 +00:00
RegisterNodesDialog.js Add i18n to Register Nodes form 2017-02-15 12:52:17 +00:00
RegisteredNodesTabPane.js Fix nodes actions toolbar 2017-03-09 13:27:26 +01:00