Monotone-Parent: 6de228594e5feb001f4208313d8363017d61a463

Monotone-Revision: b83048b6a7cb04b3bd23bb087f18cf0d7c495d49

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-12T16:42:59
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-12 16:42:59 +00:00
parent 9fa766dae5
commit 142dff8d5e
12 changed files with 117 additions and 260 deletions
+1 -15
View File
@@ -95,19 +95,6 @@ function validateContactEditor() {
return true;
}
function submitContact(thisForm) {
var action = $('jsaction');
action.setAttribute("name", "save:method");
action.setAttribute("value", "save");
if (validateContactEditor()) {
thisForm.submit();
if (window.opener.refreshContacts)
window.opener.setTimeout("refreshContacts(\""+ self.contactId +"\");", 200);
window.close();
}
}
function showCoords(node) {
node = $("givenName");
window.alert("x: " + node.cascadeLeftOffset()
@@ -140,8 +127,7 @@ function onFnNewValue(event) {
return true;
}
function initEditorForm(contactId) {
self.contactId = contactId;
function initEditorForm() {
displayNameChanged = ($("fn").value.length > 0);
$("fn").onkeydown = onFnKeyDown;
$("sn").onkeyup = onFnNewValue;