mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-06 17:29:22 +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:
1 parent
61212215da
commit
2bcca3a693
4 files changed
+44
-13
No files matched your search
@@ -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