Monotone-Parent: c5930bf92c020da0372de16968ab01fdb1441b7f

Monotone-Revision: dd5e6b20e9e1ea81e79dfae72ba128a3b39787b0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-03T16:21:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-03 16:21:25 +00:00
parent 6fe6f03bd8
commit 89ee22a38b

View File

@@ -1,3 +1,5 @@
var contactSelectorAction = 'mailer-contacts';
function addContact(tag, fullContactName, contactId, contactName, contactEmail)
{
if (!mailIsRecipient(contactEmail)) {
@@ -7,8 +9,6 @@ function addContact(tag, fullContactName, contactId, contactName, contactEmail)
else if (tag == "bcc")
neededOptionValue = 2;
var rows = $("addressList").childNodes;
// log ("tag: /" + tag + "/");
// log ("neededOptionValue: " + neededOptionValue);
var stop = false;
var counter = 0;
@@ -17,7 +17,6 @@ function addContact(tag, fullContactName, contactId, contactName, contactEmail)
&& !stop) {
var currentValue = currentRow.childNodes[0].childNodes[0].value;
if (currentValue == neededOptionValue) {
// log ("currentValue: " + currentValue);
stop = true;
insertContact($("addr_" + counter), contactName, contactEmail);
}