mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Major refresh of CSS stylesheets.
Monotone-Parent: 508bbe52515b0ad7119c755b4cc91d17e313c06b Monotone-Revision: d09001490c2d88332ef3ec446bfd0aa488d0de8c Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-11-04T22:13:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -134,8 +134,15 @@ function onFnNewValue(event) {
|
||||
}
|
||||
|
||||
function onEditorCancelClick(event) {
|
||||
preventDefault(event);
|
||||
window.close();
|
||||
this.blur();
|
||||
preventDefault(event);
|
||||
window.close();
|
||||
}
|
||||
|
||||
function onEditorSubmitClick(event) {
|
||||
if (validateContactEditor())
|
||||
$('mainForm').submit();
|
||||
this.blur();
|
||||
}
|
||||
|
||||
function initEditorForm() {
|
||||
@@ -145,6 +152,7 @@ function initEditorForm() {
|
||||
$("givenName").onkeyup = onFnNewValue;
|
||||
|
||||
$("cancelButton").observe("click", onEditorCancelClick);
|
||||
$("submitButton").observe("click", onEditorSubmitClick);
|
||||
}
|
||||
|
||||
document.observe("dom:loaded", initEditorForm);
|
||||
|
||||
Reference in New Issue
Block a user