From 9ca27756f15ffe9bd52576a5a70cdde7b37bfb03 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 31 Jul 2015 07:24:58 -0400
Subject: [PATCH] Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035)
---
program/js/list.js | 7 ++++---
CHANGELOG | 3 ++-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index f7ba570..6213162 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix so E_DEPRECATED errors from PEAR libs are ignored by error_reporting change (#1490281)
- Fix compatibility with PHP 5.3 in rcube_ldap class (#1490424)
- Fix "Importing..." message does not hide on error (#1490422)
- Fix SQL error on logout when using session_storage=php (#1490421)
@@ -19,7 +20,7 @@
- Fix draft removal after a message is sent and storing sent message is disabled (#1490467)
- Fix so imap folder attribute comparisons are case-insensitive (#1490466)
- Fix bug where new messages weren't added to the list in search mode
-- Fix so E_DEPRECATED errors from PEAR libs are ignored by error_reporting change (#1490281)
+- Fix wrong positioning of message list header on page scroll in Webkit browsers (#1490035)
RELEASE 1.1.2
-------------
diff --git a/program/js/list.js b/program/js/list.js
index d5a1eb1..5a420b1 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -248,9 +248,10 @@
$(window).resize(function() { me.resize(); });
$(window).scroll(function() {
var w = $(window);
- me.fixed_header.css('marginLeft', (-w.scrollLeft()) + 'px');
- if (!bw.webkit)
- me.fixed_header.css('marginTop', (-w.scrollTop()) + 'px');
+ me.fixed_header.css({
+ marginLeft: -w.scrollLeft() + 'px',
+ marginTop: -w.scrollTop() + 'px'
+ });
});
}
else {
--
Gitblit v1.9.1