You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/15 23:00:13 UTC
git commit: updated refs/heads/ui-restyle to f0956ec
Updated Branches:
refs/heads/ui-restyle 3fdb61fdd -> f0956ec83
List view toolbar: Fix z-index
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f0956ec8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f0956ec8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f0956ec8
Branch: refs/heads/ui-restyle
Commit: f0956ec831fc328e02c3cbcf4b147521ec75c4d1
Parents: 3fdb61f
Author: Brian Federle <br...@citrix.com>
Authored: Tue Oct 15 14:00:05 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Oct 15 14:00:05 2013 -0700
----------------------------------------------------------------------
ui/scripts/ui/widgets/listView.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f0956ec8/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 3a56a17..4b67064 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -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 {