X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/2c735b7a3859c99955e227e750d6fd2b169afce1..3a87d3bf6e5e7525c3b381df94b4d3c1304d237b:/sercom/controllers.py diff --git a/sercom/controllers.py b/sercom/controllers.py index 88880c5..714869a 100644 --- a/sercom/controllers.py +++ b/sercom/controllers.py @@ -62,6 +62,8 @@ class Root(controllers.RootController): login_form = w.TableForm(fields=fields, action=previous_url, submit_text=_(u'Ingresar'), submit=submit) + login_form.javascript.append( + w.JSSource("MochiKit.DOM.focusOnLoad('form_login_user');")) values = dict(forward_url=forward_url) values.update(request.params)