-/* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/* This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
and is published under the AGPL license. */
document.observe("dom:loaded", function() {
var currentmail = $("account_email").value, form = $("accountform");
- form.focus();
+ form.setfocus();
form.observe('submit', function(evt) {
var control, errorElements;