mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-12 23:15:26 +00:00
Monotone-Parent: b76970a2508695482a2184b33fcd48d53793fd10
Monotone-Revision: 9c6b1538458962e41dfc4b0be00689fde420820f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-03-07T22:10:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -127,11 +127,18 @@ function onFnNewValue(event) {
|
||||
return true;
|
||||
}
|
||||
|
||||
function onEditorCancelClick(event) {
|
||||
preventDefault(event);
|
||||
window.close();
|
||||
}
|
||||
|
||||
function initEditorForm() {
|
||||
displayNameChanged = ($("fn").value.length > 0);
|
||||
$("fn").onkeydown = onFnKeyDown;
|
||||
$("sn").onkeyup = onFnNewValue;
|
||||
$("givenName").onkeyup = onFnNewValue;
|
||||
|
||||
$("cancelButton").observe("click", onEditorCancelClick);
|
||||
}
|
||||
|
||||
FastInit.addOnLoad(initEditorForm);
|
||||
|
||||
Reference in New Issue
Block a user