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:
parent
6524ffc078
commit
be7be5bc93
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue