Monotone-Parent: 994b69bf5b441d8ad6fa804a31ee33b25a0ec13e

Monotone-Revision: ffa02d814d2b95752685c44776cbbb2b26be4b47

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-09-09T18:44:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-09-09 18:44:25 +00:00
parent 1bdc70bbda
commit 7bc8c818e9
2 changed files with 13 additions and 13 deletions

View File

@@ -55,9 +55,11 @@ function addContact(tag, fullContactName, contactId, contactName, contactEmail)
if (!stop) {
fancyAddRow(false, "");
$($("row_" + counter).childNodesWithTag("td")[0]).childNodesWithTag("select")[0].value
= neededOptionValue;
insertContact($("addr_" + counter), contactName, contactEmail);
var row = $("row_" + currentIndex);
var td = $(row.childNodesWithTag("td")[0]);
var select = $(td.childNodesWithTag("select")[0]);
select.value = neededOptionValue;
insertContact($("addr_" + currentIndex), contactName, contactEmail);
onWindowResize(null);
}
}