From ee18f5f3d43528e7e9b527559a99c450bc01c6aa Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 29 Sep 2007 16:40:32 -0400
Subject: [PATCH] Fix compose screen on IE7 and re-enable buttons after list reload

---
 skins/default/mail.css |   15 ++++++++-------
 program/js/app.js      |    1 +
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index a40c8c3..933a899 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3435,6 +3435,7 @@
       case 'list':
         if (this.env.messagecount)
           this.enable_command('purge', (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox));
+        this.msglist_select(this.message_list);
 
       case 'expunge':
         this.enable_command('select-all', 'select-none', 'expunge', this.env.messagecount ? true : false);
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 4f1ee85..45dc950 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -772,15 +772,17 @@
   white-space: nowrap;
 }
 
-#compose-headers td textarea
-{
-  width: 100%;
-  height: 38px;
-}
-
+#compose-body,
+#compose-headers td textarea,
 #compose-headers td input
 {
   width: 100%;
+  width: expression('99%');
+}
+
+#compose-headers td textarea
+{
+  height: 38px;
 }
 
 #compose-cc,
@@ -794,7 +796,6 @@
 {
   margin-top: 5px;
   margin-bottom: 10px;
-  width: 100%;
   height: 90%;
   min-height: 280px;
   font-size: 9pt;

--
Gitblit v1.9.1