summaryrefslogtreecommitdiff
path: root/skins/larry
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-10-24 18:14:31 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-10-24 18:14:31 +0200
commiteb514742ecf9ca2fb5331d6ccbe2f1a13accd438 (patch)
tree5f20a75c3a3c1b7e2d97c6b07e98c5f69a067d2c /skins/larry
parent838e4204b161b00b0978038b2dcf42b396e8d400 (diff)
Show compose options if they were visible in opener
Diffstat (limited to 'skins/larry')
-rw-r--r--skins/larry/ui.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 12dae3118..da4f2300e 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -96,6 +96,10 @@ function rcube_mail_ui()
return false;
}).css('cursor', 'pointer');
+ // toggle compose options if opened in new window and they were visible before
+ if (window.opener && opener.rcmail && opener.rcmail.env.action == 'compose' && $('#composeoptionstoggle', opener.document).hasClass('remove'))
+ $('#composeoptionstoggle').click();
+
new rcube_splitter({ id:'composesplitterv', p1:'#composeview-left', p2:'#composeview-right',
orientation:'v', relative:true, start:248, min:170, size:12, render:layout_composeview }).init();
}