mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
propagate from branch 'ca.inverse.sogo.1_3_12' (head c5233a2a4e6a6abdb50191daf1eb589c9ff5cf80)
to branch 'ca.inverse.sogo' (head 212622191a26c7b5f257c536a45dfea03f404bc1) Monotone-Parent: 212622191a26c7b5f257c536a45dfea03f404bc1 Monotone-Parent: c5233a2a4e6a6abdb50191daf1eb589c9ff5cf80 Monotone-Revision: e18b5ae2235fde5d7f7f569ead8452a2217d9b5c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-14T21:24:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -300,9 +300,9 @@ function onMenuExportContact (event) {
|
||||
var canExport = (selectedFolders[0].getAttribute("owner") != "nobody");
|
||||
if (canExport) {
|
||||
var selectedFolderId = $(selectedFolders[0]).readAttribute("id");
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user