Monotone-Parent: 90dcf7eaa4fa5c45bd56305ac6f63144ef5d7536

Monotone-Revision: 538aedd7d01174f61f329561b71c913f2c048a26

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-01-19T12:16:45
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-01-19 12:16:45 +00:00
parent 32a1e43def
commit 943b044622
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2010-01-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/ContactsUI.js (initContacts): fixed a bug
causing a null exception error on IE7 when the window is not the
main window, and is therefore missing the "uploadCancel" and
"uploadOK" elements.
2010-01-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Tests/utilities.py: new module implementing utility classes and

View File

@ -1161,12 +1161,12 @@ function onDocumentKeydown(event) {
function initContacts(event) {
if ($(document.body).hasClassName("popup")) {
configureSelectionButtons();
} else {
// Addressbook import form
$("uploadCancel").observe("click", hideContactsImport);
$("uploadOK").observe("click", hideImportResults);
}
// Addressbook import form
$("uploadCancel").observe("click", hideContactsImport);
$("uploadOK").observe("click", hideImportResults);
if (Prototype.Browser.Gecko)
Event.observe(document, "keypress", onDocumentKeydown); // for FF2
else