mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-18 01:45:25 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user