From 0c8049f226497c6e63eaeac7d5043862cb1adcf6 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 15 Dec 2013 13:19:15 -0500
Subject: [PATCH] Fix position of messages list column dragging layer when the list is scrolled down

---
 program/js/list.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/program/js/list.js b/program/js/list.js
index 895a9e6..6c0fbc2 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -1461,6 +1461,9 @@
       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,

--
Gitblit v1.9.1