summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-01-02 13:33:04 +0000
committerthomascube <thomas@roundcube.net>2012-01-02 13:33:04 +0000
commit543ccbb328b37d5d5f3ef8d982fdfadc350f3bb6 (patch)
tree88cbe3f0a306597edc2d0718ac8ffc8f61fe5bb3 /skins/larry/ui.js
parent7152f59f04fc2ecfc0bcfb9a50758c3757c119f8 (diff)
Add toggle for all-headers display
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index c1bbfada8..08cce32ce 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -61,7 +61,6 @@ function rcube_mail_ui()
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 @@ function rcube_mail_ui()
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();