diff --git a/ChangeLog b/ChangeLog index a7b09767a..51d6920b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-05-04 Wolfgang Sourdeau + + * UI/WebServerResources/ContactsUI.js (initContacts): we must + configure the ab toolbar even when in popup mode. + 2010-05-04 Francis Lachapelle * SoObjects/Contacts/SOGoContactSourceFolder.m diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 243b1309b..1fc2cdfbd 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -1180,17 +1180,17 @@ function onDocumentKeydown(event) { function initContacts(event) { if ($(document.body).hasClassName("popup")) { configureSelectionButtons(); - } else { - configureAbToolbar(); - var tabsContainer = $("smallToolbarContainer"); - var controller = new SOGoTabsController(); - controller.attachToTabsContainer(tabsContainer); - - // Addressbook import form - $("uploadCancel").observe("click", hideContactsImport); - $("uploadOK").observe("click", hideImportResults); } - + + var controller = new SOGoTabsController(); + var tabsContainer = $("smallToolbarContainer"); + controller.attachToTabsContainer(tabsContainer); + configureAbToolbar(); + + // Addressbook import form + $("uploadCancel").observe("click", hideContactsImport); + $("uploadOK").observe("click", hideImportResults); + if (Prototype.Browser.Gecko) Event.observe(document, "keypress", onDocumentKeydown); // for FF2 else