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/addressbook.html |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html
index 1cbdc84..e5b5a10 100644
--- a/skins/default/templates/addressbook.html
+++ b/skins/default/templates/addressbook.html
@@ -4,6 +4,7 @@
 <title><roundcube:object name="pagetitle" /></title>
 <roundcube:include file="/includes/links.html" />
 <link rel="stylesheet" type="text/css" href="/addresses.css" />
+<script type="text/javascript" src="/splitter.js"></script>
 </head>
 <body>
 
@@ -31,6 +32,11 @@
 <roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" summary="Contacts list" />
 </div>
 
+<script type="text/javascript">
+  var addrviewsplit = new rcube_splitter({id:'addressviewsplitter', p1: 'addresslist', p2: 'contacts-box', orientation: 'v'});
+  rcmail.add_onload('addrviewsplit.init()');
+</script>
+
 <div id="contacts-box">
 <roundcube:object name="addressframe" id="contact-frame" width="100%" height="100%" frameborder="0" src="/watermark.html" />
 </div>

--
Gitblit v1.9.1