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
This commit is contained in:
C Robert 2009-08-17 20:34:18 +00:00
parent 6524ffc078
commit be7be5bc93

View file

@ -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