]> git.llucax.com Git - software/sercom.git/commitdiff
Poner foco en formularios.
authorLeandro Lucarella <llucax@gmail.com>
Wed, 14 Feb 2007 00:59:02 +0000 (00:59 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Wed, 14 Feb 2007 00:59:02 +0000 (00:59 +0000)
sercom/subcontrollers/caso_de_prueba/templates/edit.kid
sercom/subcontrollers/caso_de_prueba/templates/new.kid
sercom/subcontrollers/docente/templates/edit.kid
sercom/subcontrollers/docente/templates/new.kid
sercom/subcontrollers/enunciado/templates/edit.kid
sercom/subcontrollers/enunciado/templates/new.kid
sercom/templates/login.kid

index a8a5aec8215156c7be7fa23a91c360900f625783..3d4227fe6e395d3093c4cb67cb5d636d58408c44 100644 (file)
@@ -4,6 +4,9 @@
 <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>
 </head>
 <body>
 
 </head>
 <body>
 
index 6a05bc7c8942acf89afef1a7e5e73a45b4a5108c..73c88a66e1eed275f1d7fc8e8b69580e6f92e893 100644 (file)
@@ -4,6 +4,9 @@
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
+<script>
+    MochiKit.Signal.connect(window, 'onload', function() { $('form_nombre').focus(); });
+</script>
 </head>
 <body>
 
 </head>
 <body>
 
index d5d3dcc7fc302b7136022f2eea7776119b7b17f3..a79e89a24baeb5669ae9d7688e617872308bb4a8 100644 (file)
@@ -4,6 +4,9 @@
 <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_usuario').focus(); });
+</script>
 </head>
 <body>
 
 </head>
 <body>
 
index c30f9005b88d751f76dd51a58c47e591a33f1eab..53a05e2789b418a9a1cbed0d45c1e5fe5ab556b2 100644 (file)
@@ -4,6 +4,9 @@
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
+<script>
+    MochiKit.Signal.connect(window, 'onload', function() { $('form_usuario').focus(); });
+</script>
 </head>
 <body>
 
 </head>
 <body>
 
index 517e6f313576f07e282aaa13fe2fdf6729ffe9b1..13a5d76a8457cbc2c0abaf700d35def074f6614b 100644 (file)
@@ -4,6 +4,9 @@
 <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>
 </head>
 <body>
 
 </head>
 <body>
 
index 331105e8b30a7fe2e85ca5022aeb635cb359b0c2..340d46031ed7ac7d981c9dad11045d0c50dd952d 100644 (file)
@@ -4,6 +4,9 @@
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
 <title>new</title>
+<script>
+    MochiKit.Signal.connect(window, 'onload', function() { $('form_nombre').focus(); });
+</script>
 </head>
 <body>
 
 </head>
 <body>
 
index 0cf80a7bac7ffa58fd94dd7797d1a83bea97c0cb..7b4975bff83a94ee71a728ec8754c9639114b3cf 100644 (file)
@@ -70,6 +70,9 @@
         }
 
     </style>
         }
 
     </style>
+    <script>
+        MochiKit.Signal.connect(window, 'onload', function() { $('form_login_user').focus(); });
+    </script>
 </head>
 
 <body>
 </head>
 
 <body>