From ff048cdfae2fe2a90e5e10edc5f65ef8c76383aa Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 11 Dec 2009 14:14:48 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 2977eee44dc8cb28a84d3198502b07eacfaf2472 Monotone-Revision: 4bfa73f8df33a1fad6c74b0321872b8b41b526fa Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-12-11T14:14:48 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ UI/Contacts/Toolbars/SOGoContactFolder.toolbar | 7 ++++++- UI/WebServerResources/ContactsUI.js | 4 ++++ 3 files changed, 16 insertions(+), 1 deletion(-) 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);