tripleo-ui/src/js/components/utils
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
..
BaseHttpRequestErrorHandler.js Enable linting on whole src dir, fix linting errors 2015-09-29 16:08:19 +02:00
Dom.js Fix nodes actions toolbar 2017-03-09 13:27:26 +01:00
Formsy.js Relax JSON input validation 2016-11-28 12:25:48 +01:00
Timer.js Refactor notification for better display 2016-05-24 10:01:27 -06:00