Monotone-Parent: c08c1b108dddcf6aa1bcd2741e800b8a90587384

Monotone-Revision: e99c77c0d8085a88b285c83c82ff1b9bde79649b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-17T13:46:38
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-04-17 13:46:38 +00:00
parent 23daba3d29
commit a8245d3265
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
2007-04-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/MailerUI.js (initDnd): enable drag and
drop on all folder nodes, not just on leaves.
* SoObjects/Contacts/SOGoContactLDAPFolder.m
([SOGoContactLDAPFolder
-lookupContactsWithFilter:filtersortBy:sortKeyordering:sortOrdering]): request field "uid" when doing a search.

View File

@@ -760,7 +760,7 @@ function expandUpperTree(node) {
function initMailboxSelection(mailboxName) {
currentMailbox = mailboxName;
log("initMailboxSelection: " + mailboxName);
// log("initMailboxSelection: " + mailboxName);
var tree = $("d");
var treeNodes = document.getElementsByClassName("dTreeNode", tree);
var i = 0;
@@ -768,7 +768,7 @@ function initMailboxSelection(mailboxName) {
&& treeNodes[i].getAttribute("dataname") != currentMailbox)
i++;
if (i < treeNodes.length) {
log ("found mailbox");
// log ("found mailbox");
var links = document.getElementsByClassName("node", treeNodes[i]);
if (tree.selectedEntry)
tree.selectedEntry.deselect();
@@ -944,7 +944,7 @@ function initDnd() {
document.DNDManager.registerDestination(images[i]);
}
}
var nodes = document.getElementsByClassName("leaf", tree);
var nodes = document.getElementsByClassName("nodeName", tree);
for (var i = 0; i < nodes.length; i++) {
nodes[i].dndAcceptType = mailboxSpanAcceptType;
nodes[i].dndEnter = mailboxSpanEnter;