From 543ccbb328b37d5d5f3ef8d982fdfadc350f3bb6 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 02 Jan 2012 08:33:04 -0500 Subject: [PATCH] Add toggle for all-headers display --- skins/larry/ui.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/skins/larry/ui.js b/skins/larry/ui.js index c1bbfad..08cce32 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -61,7 +61,6 @@ if (rcmail.env.task == 'mail') { rcmail.addEventListener('menu-open', show_listoptions); rcmail.addEventListener('menu-save', save_listoptions); - rcmail.addEventListener('aftertoggle-editor', function(){ window.setTimeout(function(){ layout_composeview() }, 100); }); var dragmenu = $('#dragmessagemenu'); if (dragmenu.length) { @@ -76,8 +75,10 @@ if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') { layout_messageview(); + $("#all-headers").resizable({ handles: 's', minHeight: 50 }); } else if (rcmail.env.action == 'compose') { + rcmail.addEventListener('aftertoggle-editor', function(){ window.setTimeout(function(){ layout_composeview() }, 100); }); rcmail.addEventListener('aftersend-attachment', show_uploadform); layout_composeview(); -- Gitblit v1.9.1