summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-02-07 14:15:53 +0100
committerAleksander Machniak <alec@alec.pl>2013-02-08 08:58:38 +0100
commit334d37eda07650c2fdf7af0b19ce1c279866d6d2 (patch)
tree59af58ba735630b0e40799e097fca042ef38c7ee
parent4003dbe9889b16e5b99f2f3a1f1827c4a0bfdfe3 (diff)
Fix contacts-table position when there's more than one addressbook
-rw-r--r--skins/classic/functions.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index ee68ee729..c59ea9bf8 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -492,6 +492,9 @@ init_compose_form: function()
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)