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).
This commit is contained in:
Nico Wohlfarth 2019-06-13 12:23:29 +02:00 committed by Rohit Yadav
parent 873f1f247d
commit 29125be369
1 changed files with 2 additions and 2 deletions

View File

@ -1585,10 +1585,10 @@
$('<span>').html(_l('label.quickview') + ': '),
$('<span>').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()
}),
$('<span>').addClass('icon').html('&nbsp;')
);