From b0c502c4c2cbe8e2bc4c70afadf0d3700810dd24 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 06 Apr 2015 06:51:00 -0400
Subject: [PATCH] Fix message list header in classic skin on window resize in Internet Explorer (#1490213)
---
CHANGELOG | 1 +
skins/classic/functions.js | 6 ++++++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index d79610b..9b89a46 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -11,6 +11,7 @@
- Fix vpopmaild driver of password plugin
- Fix PHP warning: Non-static method PEAR::setErrorHandling() should not be called statically (#1490343)
- Fix tables listing routine on mysql and postgres so it skips system or other database tables and views (#1490337)
+- Fix message list header in classic skin on window resize in Internet Explorer (#1490213)
RELEASE 1.1.1
-------------
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index aaa4f72..5a5ad39 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -1027,6 +1027,12 @@
.addEventListener('afterimport-messages', function(){ rcmail_ui.show_popup('uploadform', false); });
}
+ // fix message list header on window resize (#1490213)
+ if (bw.ie && rcmail.message_list)
+ $(window).resize(function() {
+ setTimeout(function() { rcmail.message_list.resize(); }, 10);
+ });
+
if (rcmail.env.action == 'compose')
rcmail_ui.init_compose_form();
else if (rcmail.env.action == 'show' || rcmail.env.action == 'preview')
--
Gitblit v1.9.1