mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-08 06:48:51 +00:00
Monotone-Parent: 481fe3d5a9c50bc134e3db63b08e84fc0a7456fd
Monotone-Revision: a9a815362cf2b8cfa777d0a89799463ee2302535 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-02T18:18:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -30,7 +30,7 @@ function addContact(tag, fullContactName, contactId, contactName, contactEmail)
|
||||
var counter = 0;
|
||||
var currentRow = $('row_' + counter);
|
||||
while (currentRow && !stop) {
|
||||
var currentValue = $(currentRow.childNodesWithTag("span")[1]).childNodesWithTag("input")[0].value;
|
||||
var currentValue = $(currentRow.childNodesWithTag("td")[1]).childNodesWithTag("input")[0].value;
|
||||
if (currentValue == neededOptionValue) {
|
||||
stop = true;
|
||||
insertContact($("addr_" + counter), contactName, contactEmail);
|
||||
@@ -41,9 +41,10 @@ function addContact(tag, fullContactName, contactId, contactName, contactEmail)
|
||||
|
||||
if (!stop) {
|
||||
fancyAddRow(false, "");
|
||||
$("row_" + counter).childNodesWithTag("span")[0].childNodesWithTag("select")[0].value
|
||||
$($("row_" + counter).childNodesWithTag("td")[0]).childNodesWithTag("select")[0].value
|
||||
= neededOptionValue;
|
||||
insertContact($("addr_" + counter), contactName, contactEmail);
|
||||
onWindowResize(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user