diff --git a/ChangeLog b/ChangeLog index ba867bdc1..64fb4a900 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-21 Wolfgang Sourdeau + + * UI/WebServerResources/ContactsUI.js: (dropSelectedContacts): + reenabled copying contacts from system (LDAP) addressbooks. + 2010-07-20 Wolfgang Sourdeau * SoObjects/SOGo/SOGoUserFolder.m (_subFoldersFromFolder:): we diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index b8942ddc7..40cb83ea0 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -1272,8 +1272,9 @@ function startDragging (itm, e) { handle.show(); handle.update (count); - if (e.shiftKey || currentFolderIsRemote ()) + if (e.shiftKey || currentFolderIsRemote ()) { handle.addClassName ("copy"); + } } function whileDragging (itm, e) { @@ -1311,7 +1312,8 @@ function dropSelectedContacts (action, toId) { } } var fromId = $(selectedFolders[0]).id; - if (!currentFolderIsRemote () && fromId.substring(1) != toId) { + if ((!currentFolderIsRemote () || action != "move") + && fromId.substring(1) != toId) { var url = ApplicationBaseURL + fromId + "/" + action + "?folder=" + toId + "&uid=" + contactIds.join("&uid=");