mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 10:54:17 +00:00
Monotone-Parent: e2a18177cfa0a03cb838fca1581f5c9280c9ed72
Monotone-Revision: 6eb24ecac0894c6a3b2d8bc94ea23f4969e9a03d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-15T22:27:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -81,3 +81,22 @@ function validateContactEditor() {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function submitContact(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 (validateContactEditor()) {
|
||||
window.opener.log ("submitting");
|
||||
thisForm.submit();
|
||||
window.opener.log ("setting timeout...");
|
||||
window.opener.setTimeout('refreshAppointments();', 200);
|
||||
window.opener.log ("we close...");
|
||||
window.close();
|
||||
window.opener.log ("closed");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user