X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=public%2Fjs%2Faccount.js;h=c54353268ea3d410d7f38a739869fdba90d9f0fe;hb=facf74e6972eafb727833b85b38b061215dea833;hp=d479e559b749ae0d2918d58373af3354842604d7;hpb=a64d41557a62ec6051d7fa08d1ba941e089aa5c2;p=syj.git diff --git a/public/js/account.js b/public/js/account.js index d479e55..c543532 100644 --- a/public/js/account.js +++ b/public/js/account.js @@ -1,10 +1,12 @@ -/* 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. */ +"use strict"; + document.observe("dom:loaded", function() { var currentmail = $("account_email").value, form = $("accountform"); - form.focus(); + form.setfocus(); form.observe('submit', function(evt) { var control, errorElements;