]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/controllers.py
Usar foldmethod=marker.
[software/sercom.git] / sercom / controllers.py
index 88880c5aeedd78579addaf26b342135086c0e876..714869a763e8c1b30891a96efdf0d5084b9101b1 100644 (file)
@@ -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 = 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)
 
         values = dict(forward_url=forward_url)
         values.update(request.params)