mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-12 02:11:23 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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(","));
|
||||
|
||||
Reference in New Issue
Block a user