From 29125be369ed845168fc0a5941c2dafdb3913646 Mon Sep 17 00:00:00 2001 From: Nico Wohlfarth Date: Thu, 13 Jun 2019 12:23:29 +0200 Subject: [PATCH] ui: Fix quick view tooltip title on multiselect list views (#3403) Fixed an issue, where the quick view tooltip title would not have been displayed properly on list views with a multiselect row. This was because the html content of the first td of a row was used to render the title of the quick view tooltip, which would not work if the first columns content was a checkbox. Now the td with class first will be used for this (this will be the second column if there is a multiselect column, otherwise it will remain the first column). --- ui/scripts/ui/widgets/listView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index 52f3d7b0460..7162b9351d8 100644 --- a/ui/scripts/ui/widgets/listView.js +++ b/ui/scripts/ui/widgets/listView.js @@ -1585,10 +1585,10 @@ $('').html(_l('label.quickview') + ': '), $('').addClass('title').html( cloudStack.concat( - $tr.find('td:first span').html(), 30 + $tr.find('td.first span').html(), 30 ) ).attr({ - title: $tr.find('td:first span').html() + title: $tr.find('td.first span').html() }), $('').addClass('icon').html(' ') );