diff --git a/ChangeLog b/ChangeLog index 5feac6cc0..349f97734 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-12-11 Ludovic Marcotte + + * Added a patch from Albrecht Gebhardt + that offers a "Reload" button in the Web contacts + management module. + 2009-12-11 Wolfgang Sourdeau * UI/PreferencesUI/UIxPreferences.m (-setUserShortDateFormat:): diff --git a/UI/Contacts/Toolbars/SOGoContactFolder.toolbar b/UI/Contacts/Toolbars/SOGoContactFolder.toolbar index e05a4d7bb..c73af7c2b 100644 --- a/UI/Contacts/Toolbars/SOGoContactFolder.toolbar +++ b/UI/Contacts/Toolbars/SOGoContactFolder.toolbar @@ -30,5 +30,10 @@ onclick = "return onToolbarDeleteSelectedContacts(this);"; image="tb-mail-delete-flat-24x24.png"; tooltip = "Delete selected card or address book"; } - ) + ), + ( { link = "#"; + label = "Reload"; + onclick = "return onContactsReload();"; + image = "calendar-reload.png"; + tooltip = "Reload all contacts"; } ) ) diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 096a68c85..7fbfec507 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -1298,4 +1298,8 @@ function dropSelectedContacts (action, toId) { } +function onContactsReload () { + openContactsFolder(Contact.currentAddressBook, true); +} + document.observe("dom:loaded", initContacts);