summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-25 08:40:31 +0000
committeralecpl <alec@alec.pl>2012-04-25 08:40:31 +0000
commit76248c7b6e5060107536de2c4e287667b02b3b0e (patch)
tree2d5834e02f6ad637567abdbca4d66ddba32f8ff8 /skins/larry/ui.js
parentfbe7b71b0f6139f38cb95802201d38ff38c266eb (diff)
- Improved all headers viewer (mostly in Larry skin)
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index cf7ff5537..04e74b7b5 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -76,7 +76,8 @@ function rcube_mail_ui()
if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') {
layout_messageview();
- $("#all-headers").resizable({ handles: 's', minHeight: 50 });
+ rcmail.addEventListener('aftershow-headers', function() { layout_messageview(); });
+ rcmail.addEventListener('afterhide-headers', function() { layout_messageview(); });
$('#previewheaderstoggle').click(function(e){ toggle_preview_headers(this); return false });
}
else if (rcmail.env.action == 'compose') {
@@ -291,7 +292,7 @@ function rcube_mail_ui()
{
$('#messagecontent').css('top', ($('#messageheader').outerHeight() + 10) + 'px');
$('#message-objects div a').addClass('button');
-
+
if (!$('#attachment-list li').length) {
$('div.rightcol').hide();
$('div.leftcol').css('margin-right', '0');