From a7d5c6480cdef191b04e71005ffea0e35b84ac24 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 17 Dec 2006 16:28:37 -0500
Subject: [PATCH] Added patch for resizeable preview pane

---
 skins/default/templates/mail.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index 7e83057..d7f11bd 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 />

--
Gitblit v1.9.1