From be7be5bc938868064edbee9dc2981e267b291ee4 Mon Sep 17 00:00:00 2001 From: C Robert Date: Mon, 17 Aug 2009 20:34:18 +0000 Subject: [PATCH] Mantis96: Search/filter field overlaps the toolbar in popup view of contacts Monotone-Parent: 27c3e7606471d513ab1014e7afa4c56071c0245e Monotone-Revision: 9cbe6e6f1780024d4dcb37d4ce3de593f9c91828 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-17T20:34:18 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/ContactsUI.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 2041b68b3..a91ee8df1 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -1037,9 +1037,17 @@ function onDocumentKeydown(event) { } } +function fixSearchFieldPosition () { + var panel = $("filterPanel"); + panel.style.position = "relative"; + panel.style.top = "3px"; +} + function initContacts(event) { - if ($(document.body).hasClassName("popup")) + if ($(document.body).hasClassName("popup")) { configureSelectionButtons(); + fixSearchFieldPosition (); + } else if (Prototype.Browser.Gecko) Event.observe(document, "keypress", onDocumentKeydown); // for FF2 else