mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 17:10:31 +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:
@@ -99,24 +99,6 @@ function validateAptEditor() {
|
||||
return true;
|
||||
}
|
||||
|
||||
function submitMeeting(thisForm) {
|
||||
// var action = document.getElementById('jsaction');
|
||||
// action.setAttribute("name", "save:method");
|
||||
// action.setAttribute("value", "save");
|
||||
|
||||
log ("form: " + thisForm);
|
||||
log ("validating...");
|
||||
if (validateAptEditor()) {
|
||||
log ("submitting");
|
||||
thisForm.submit();
|
||||
log ("setting timeout...");
|
||||
window.opener.setTimeout('refreshAppointments();', 200);
|
||||
log ("we close...");
|
||||
window.close();
|
||||
log ("closed");
|
||||
}
|
||||
}
|
||||
|
||||
function toggleDetails() {
|
||||
var div = $("details");
|
||||
var buttons = $("buttons");
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -99,25 +99,6 @@ function validateAptEditor() {
|
||||
return true;
|
||||
}
|
||||
|
||||
function submitTask(thisForm) {
|
||||
// var action = document.getElementById('jsaction');
|
||||
// action.setAttribute("name", "save:method");
|
||||
// action.setAttribute("value", "save");
|
||||
|
||||
window.opener.log ("form: " + thisForm);
|
||||
|
||||
window.opener.log ("validating...");
|
||||
if (validateAptEditor()) {
|
||||
window.opener.log ("submitting");
|
||||
thisForm.submit();
|
||||
window.opener.log ("setting timeout...");
|
||||
window.opener.setTimeout('refreshTasks();', 200);
|
||||
window.opener.log ("we close...");
|
||||
window.close();
|
||||
window.opener.log ("closed");
|
||||
}
|
||||
}
|
||||
|
||||
function toggleDetails() {
|
||||
var div = $("details");
|
||||
var buttons = $("buttons");
|
||||
|
||||
Reference in New Issue
Block a user