1 /* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
2 and is published under the AGPL license. */
4 document.observe("dom:loaded", function() {
5 var form = $("loginform");
8 form.observe("submit", function(evt) {
9 $$('.error').invoke('remove');
11 if (!$("login_user").check(function() { return !this.value.strip().empty(); }, SyjStrings.userEmptyWarn)) {