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:
parent
5d5d0ea60a
commit
2c907c79cd
|
@ -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>
|
2010-01-12 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||||
|
|
||||||
* SoObjects/SOGo/NSString+Utilities.m
|
* SoObjects/SOGo/NSString+Utilities.m
|
||||||
|
|
|
@ -319,6 +319,11 @@ BODY.popup DIV#rightDragHandle
|
||||||
BODY.popup DIV#contactView
|
BODY.popup DIV#contactView
|
||||||
{ top: 10em; }
|
{ top: 10em; }
|
||||||
|
|
||||||
|
BODY.popup DIV#filterPanel
|
||||||
|
{ position: relative;
|
||||||
|
top: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
DIV.contactSelection
|
DIV.contactSelection
|
||||||
{
|
{
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
|
@ -1150,29 +1150,28 @@ function onDocumentKeydown(event) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function fixSearchFieldPosition () {
|
/*function fixSearchFieldPosition () {
|
||||||
var panel = $("filterPanel");
|
var panel = $("filterPanel");
|
||||||
if (panel) {
|
if (panel) {
|
||||||
panel.style.position = "relative";
|
panel.style.position = "relative";
|
||||||
panel.style.top = "7px";
|
panel.style.top = "7px";
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
function initContacts(event) {
|
function initContacts(event) {
|
||||||
if ($(document.body).hasClassName("popup")) {
|
if ($(document.body).hasClassName("popup")) {
|
||||||
configureSelectionButtons();
|
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();
|
configureAbToolbar();
|
||||||
configureAddressBooks();
|
configureAddressBooks();
|
||||||
updateAddressBooksMenus();
|
updateAddressBooksMenus();
|
||||||
|
|
Loading…
Reference in a new issue