mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-04 02:55:26 +00:00
Monotone-Parent: d486d5e829cf0bc377649b3e2d2ecfcc08afb8e8
Monotone-Revision: eb91760e130971e6a1b43251bf762b23a408ab34 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-07-15T16:40:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -115,8 +115,15 @@ function onComposeToAllAttendees()
|
||||
var attendees = $$("DIV#attendeesMenu LI.attendee");
|
||||
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