X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/678f514772434db8525572e20ffa45e1d159764a..d47dd9949d44d12944f557b0efd80459b857ce74:/sercom/subcontrollers/docente/__init__.py?ds=sidebyside diff --git a/sercom/subcontrollers/docente/__init__.py b/sercom/subcontrollers/docente/__init__.py index b8805b9..df4a2b7 100644 --- a/sercom/subcontrollers/docente/__init__.py +++ b/sercom/subcontrollers/docente/__init__.py @@ -43,6 +43,7 @@ form = TableForm(fields=[ #help_text=_(u'Si no está activo no puede ingresar al sistema.'), validator=validators.Bool(if_empty=1)), ]) +form.javascript.append(JSSource("MochiKit.DOM.focusOnLoad('form_usuario');")) class DocenteController(controllers.Controller, identity.SecureResource): """Basic model admin interface"""