See ChangeLog

Monotone-Parent: e01a6cf59f2ee75d0b39a067e4bb3dc8f01bc380
Monotone-Revision: e87a7d4ca04131da133962a5f2c5afdff4ef8f48

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-01-13T05:14:36
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle 2010-01-13 05:14:36 +00:00
parent 5d5d0ea60a
commit 2c907c79cd
3 changed files with 23 additions and 13 deletions

View file

@ -1,3 +1,9 @@
2010-01-13 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/ContactsUI.js (-fixSearchFieldPosition):
replaced this function by the equivalent CSS definition.
(-initContacts): initialized import buttons even for "popup" mode.
2010-01-12 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/SOGo/NSString+Utilities.m

View file

@ -319,6 +319,11 @@ BODY.popup DIV#rightDragHandle
BODY.popup DIV#contactView
{ top: 10em; }
BODY.popup DIV#filterPanel
{ position: relative;
top: 7px;
}
DIV.contactSelection
{
z-index: 10;

View file

@ -1150,29 +1150,28 @@ function onDocumentKeydown(event) {
}
}
function fixSearchFieldPosition () {
/*function fixSearchFieldPosition () {
var panel = $("filterPanel");
if (panel) {
panel.style.position = "relative";
panel.style.top = "7px";
}
}
}*/
function initContacts(event) {
if ($(document.body).hasClassName("popup")) {
configureSelectionButtons();
fixSearchFieldPosition ();
}
else {
// Addressbook import form
$("uploadCancel").observe("click", hideContactsImport);
$("uploadOK").observe("click", hideImportResults);
if (Prototype.Browser.Gecko)
Event.observe(document, "keypress", onDocumentKeydown); // for FF2
else
Event.observe(document, "keydown", onDocumentKeydown);
}
// Addressbook import form
$("uploadCancel").observe("click", hideContactsImport);
$("uploadOK").observe("click", hideImportResults);
if (Prototype.Browser.Gecko)
Event.observe(document, "keypress", onDocumentKeydown); // for FF2
else
Event.observe(document, "keydown", onDocumentKeydown);
configureAbToolbar();
configureAddressBooks();
updateAddressBooksMenus();