mirror of https://github.com/apache/cloudstack.git
List view toolbar: Fix z-index
This commit is contained in:
parent
3fdb61fdde
commit
f0956ec831
|
|
@ -1881,8 +1881,8 @@
|
|||
|
||||
// Infinite scrolling event
|
||||
$listView.bind('scroll', function(event) {
|
||||
var $fixedElems = $listView.find('.toolbar:first, thead:first');
|
||||
var $fixedContainer = $('<div>').addClass('fixed-container');
|
||||
var $fixedElems = $listView.find('.toolbar:first, thead:first'); // Original elements to clone
|
||||
var $fixedContainer = $('<div>').addClass('fixed-container'); // Fixed scroll container
|
||||
|
||||
$listView.find('.fixed-container').remove();
|
||||
|
||||
|
|
@ -1909,6 +1909,7 @@
|
|||
});
|
||||
$fixedContainer.css({
|
||||
position: 'absolute',
|
||||
zIndex: $listView.zIndex() + 1,
|
||||
width: $fixedElems.outerWidth()
|
||||
}).prependTo($listView);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue