From bd3d68ae1a53b871ecc7dcb6afef6608c6febb6e Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 07 Feb 2013 08:15:53 -0500
Subject: [PATCH] Fix contacts-table position when there's more than one addressbook

---
 skins/classic/functions.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index ee68ee7..c59ea9b 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -492,6 +492,9 @@
   div.style.top = (parseInt(headers_div.offsetHeight, 10) + 3) + 'px';
   $(window).resize();
 
+  // fixes contacts-table position when there's more than one addressbook
+  $('#contacts-table').css('top', $('#directorylist').height() + 24 + 'px');
+
   // contacts search submit
   $('#quicksearchbox').keydown(function(e) {
     if (rcube_event.get_keycode(e) == 13)

--
Gitblit v1.9.1