]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/caso_de_prueba/templates/edit.kid
Mejorar puesta de foco en campo del formulario.
[software/sercom.git] / sercom / subcontrollers / caso_de_prueba / templates / edit.kid
index 3d4227fe6e395d3093c4cb67cb5d636d58408c44..40b7d75869e07b160e7cc4af6ac89166c9bad101 100644 (file)
@@ -4,9 +4,7 @@
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>edit</title>
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>edit</title>
-<script>
-    MochiKit.Signal.connect(window, 'onload', function() { $('form_nombre').focus(); });
-</script>
+<script>MochiKit.DOM.focusOnLoad('form_nombre');</script>
 </head>
 <body>
 
 </head>
 <body>