summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-27 07:13:19 +0000
committeralecpl <alec@alec.pl>2012-04-27 07:13:19 +0000
commitf4698cbfa1b6c7d3c1b5b88555f85c949c3adbef (patch)
treef15a1776bb512bce716db30f48446000b6cc4287 /skins/larry/ui.js
parent6da093890c04a112a79724f4e05b708a9c0879e7 (diff)
- Applied fixes from trunk up to r6129
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index cf7ff5537..ab56910bd 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');
@@ -549,7 +550,7 @@ function rcube_mail_ui()
for (i in rcmail.env.spell_langs) {
li = $('<li>');
- link = $('<a href="#">').text(rcmail.env.spell_langs[i])
+ link = $('<a href="#"></a>').text(rcmail.env.spell_langs[i])
.addClass('active').data('lang', i)
.click(function() {
rcmail.spellcheck_lang_set($(this).data('lang'));