Monotone-Parent: fca9715aa0632958f50527cf33ba977fc0c06e85

Monotone-Revision: a8d6eb0ca6fa812a331b038a4ecdf6505a002412

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-29T18:10:07
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-29 18:10:07 +00:00
parent 41ebf96731
commit 363a16fe03
3 changed files with 26 additions and 14 deletions
+3 -2
View File
@@ -97,7 +97,7 @@ function submitContact(thisForm) {
if (validateContactEditor()) {
thisForm.submit();
if (window.opener.refreshContacts)
window.opener.setTimeout("refreshContacts(\""+ window.contactId +"\");", 200);
window.opener.setTimeout("refreshContacts(\""+ self.contactId +"\");", 200);
window.close();
}
}
@@ -134,7 +134,8 @@ function onFnNewValue(event) {
return true;
}
function initEditorForm() {
function initEditorForm(contactId) {
self.contactId = contactId;
displayNameChanged = ($("fn").value.length > 0);
$("fn").onkeydown = onFnKeyDown;
$("sn").onkeyup = onFnNewValue;