summaryrefslogtreecommitdiff
path: root/skins/default/templates/mail.html
diff options
context:
space:
mode:
Diffstat (limited to 'skins/default/templates/mail.html')
-rw-r--r--skins/default/templates/mail.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index 7e83057c5..d7f11bdfd 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -4,6 +4,7 @@
<title><roundcube:object name="pagetitle" /></title>
<roundcube:include file="/includes/links.html" />
<link rel="stylesheet" type="text/css" href="/mail.css" />
+<script type="text/javascript" src="/splitter.js"></script>
</head>
<body>
@@ -55,6 +56,10 @@
</div>
<roundcube:if condition="config:preview_pane == true" />
+<script type="text/javascript">
+ var mailviewsplit = new rcube_splitter({id:'mailviewsplitter', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h'});
+ rcmail.add_onload('mailviewsplit.init()');
+</script>
<div id="mailpreviewframe">
<roundcube:object name="messagecontentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="/watermark.html" />
</div>
@@ -62,7 +67,7 @@
<style type="text/css">
#mailcontframe {
bottom: auto;
- height: 210px;
+ height: 208px;
}
</style>
<roundcube:endif />