summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/list.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 895a9e645..6c0fbc2db 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -1461,6 +1461,9 @@ column_drag_mouse_move: function(e)
var lpos = $(this.list).offset(),
cells = this.thead.rows[0].cells;
+ // fix layer position when list is scrolled
+ lpos.top += this.list.scrollTop + this.list.parentNode.scrollTop;
+
// create dragging layer
this.col_draglayer = $('<div>').attr('id', 'rcmcoldraglayer')
.css(lpos).css({ position:'absolute', 'z-index':2001,