X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=public%2Fjs%2Fcontact.js;h=d3528dc5a9149b45e4bff0065c2230a495671a42;hb=41a62d74f105acd6e59c86d42a831559a86177cd;hp=416d7457f4c9fb54b6c5e494410b7e853739b985;hpb=a64d41557a62ec6051d7fa08d1ba941e089aa5c2;p=syj.git diff --git a/public/js/contact.js b/public/js/contact.js index 416d745..d3528dc 100644 --- a/public/js/contact.js +++ b/public/js/contact.js @@ -1,9 +1,9 @@ -/* 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 form = $("contactform"); - form.focus(); + form.setfocus(); form.observe('submit', function(evt) { var control, errorElements;