See ChangeLog.
Monotone-Parent: 68e5a2b8ae68f37745584028ad7764b76dcc5794 Monotone-Revision: ae0ad3228ddb04bfb233821d8ded09a5b5866c93 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-02-08T15:41:57maint-2.0.2
parent
d3dc7d7be8
commit
2e66b6a8e6
|
@ -1,3 +1,10 @@
|
|||
2012-02-14 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/ContactsUI.js (contactsListCallback): when
|
||||
restoring selection after the folder refresh, call "selectElement"
|
||||
on each row. This fixes the contacts selection retrieval when using the
|
||||
contextual menu.
|
||||
|
||||
2012-02-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoSQLUserProfile.m (_sqlJsonRepresentation:):
|
||||
|
|
|
@ -115,7 +115,6 @@ function contactsListCallback(http) {
|
|||
{ categories: contact["c_categories"],
|
||||
contactname: contact["c_cn"] },
|
||||
tbody);
|
||||
|
||||
var cell = createElement("td",
|
||||
null,
|
||||
( "displayName" ),
|
||||
|
@ -197,6 +196,7 @@ function contactsListCallback(http) {
|
|||
var rowPosition = row.rowIndex * row.getHeight();
|
||||
if (div.getHeight() < rowPosition)
|
||||
div.scrollTop = rowPosition; // scroll to selected contact
|
||||
row.selectElement();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -310,9 +310,9 @@ function onMenuExportContact (event) {
|
|||
var selectedFolders = $("contactFolders").getSelectedNodes();
|
||||
var selectedFolderId = $(selectedFolders[0]).readAttribute("id");
|
||||
if (selectedFolderId != "/shared") {
|
||||
var contactIds = $(document.menuTarget).collect(function(row) {
|
||||
return row.getAttribute("id");
|
||||
});
|
||||
var contactIds = document.menuTarget.collect(function(row) {
|
||||
return row.readAttribute("id");
|
||||
});
|
||||
var url = ApplicationBaseURL + selectedFolderId + "/export"
|
||||
+ "?uid=" + contactIds.join("&uid=");
|
||||
window.location.href = url;
|
||||
|
|
Loading…
Reference in New Issue