Monotone-Parent: 60e6c68ce28bf8053a6fe5aa44b21c2c115e30b1

Monotone-Revision: 77a1a396ead2722d4c170d71c3f90eb39e0a4eee

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-07-15T17:10:46
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-07-15 17:10:46 +00:00
parent ec6dd4915b
commit bafbffcf6d
2 changed files with 10 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
* UI/WebServerResources/UIxAppointmentEditor.js
(onComposeToAllAttendees): take the status image DIV into account
when detecting the user fullnames.
(onComposeToUndecidedAttendees): same as above.
* Tests/Integration/test-davacl.py
(DAVCalendarPublicAclTest.testCollectionAccessNormalUser): print

View File

@@ -137,8 +137,15 @@ function onComposeToUndecidedAttendees()
var attendees = $$("DIV#attendeesMenu LI.attendee.needs-action");
var addresses = new Array();
attendees.each(function(item) {
var address = item.firstChild.nodeValue.trim() + " <" + item.readAttribute("email") + ">";
addresses.push(address);
var textChild = null;
var childNodes = item.childNodes;
for (var i = 0; !textChild && i < childNodes.length; i++) {
if (childNodes[i].nodeType == 3) {
textChild = childNodes[i];
var address = textChild.nodeValue.trim() + " <" + item.readAttribute("email") + ">";
addresses.push(address);
}
}
});
if (window.opener)
window.opener.openMailTo(addresses.join(","));