diff options
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r-- | skins/larry/ui.js | 4 |
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(); } |