]> git.llucax.com Git - software/sercom.git/commitdiff
Mejorar puesta de foco en campo del formulario.
authorLeandro Lucarella <llucax@gmail.com>
Fri, 16 Feb 2007 00:55:33 +0000 (00:55 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Fri, 16 Feb 2007 00:55:33 +0000 (00:55 +0000)
doc/testdata.py
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 9b316bc4cfa4a65bc8fa129417c5679e9c8ece16..10fc64bc3ef7ae0a8dcfe21e32ac52331f5015c5 100644 (file)
@@ -1,3 +1,4 @@
+# vim: set encoding=utf-8 :
 
 r1 = Rol(nombre='admin', permisos=(entregar_tp, admin))
 
 
 r1 = Rol(nombre='admin', permisos=(entregar_tp, admin))
 
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>
 
index 73c88a66e1eed275f1d7fc8e8b69580e6f92e893..715e74c97c914baf4975635d0435307d97f19056 100644 (file)
@@ -4,9 +4,7 @@
 <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>
+<script>MochiKit.DOM.focusOnLoad('form_nombre');</script>
 </head>
 <body>
 
 </head>
 <body>
 
index a79e89a24baeb5669ae9d7688e617872308bb4a8..739cbfee9dd0755cc73608571eff0fa9d04283d1 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_usuario').focus(); });
-</script>
+<script>MochiKit.DOM.focusOnLoad('form_usuario');</script>
 </head>
 <body>
 
 </head>
 <body>
 
index 53a05e2789b418a9a1cbed0d45c1e5fe5ab556b2..5133fcc5a5869c4898e666caf85cb75c8531f479 100644 (file)
@@ -4,9 +4,7 @@
 <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>
+<script>MochiKit.DOM.focusOnLoad('form_usuario');</script>
 </head>
 <body>
 
 </head>
 <body>
 
index 13a5d76a8457cbc2c0abaf700d35def074f6614b..c9c6e4ae06c1605b5d2a2d10d531eda637d243eb 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>
 
index 340d46031ed7ac7d981c9dad11045d0c50dd952d..af1ff82bd96fea98a71cd34ca5d78c3c27567643 100644 (file)
@@ -4,9 +4,7 @@
 <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>
+<script>MochiKit.DOM.focusOnLoad('form_nombre');</script>
 </head>
 <body>
 
 </head>
 <body>
 
index 7b4975bff83a94ee71a728ec8754c9639114b3cf..03c847890da28e96a0c5af284d90f8c78d8626be 100644 (file)
@@ -70,9 +70,7 @@
         }
 
     </style>
         }
 
     </style>
-    <script>
-        MochiKit.Signal.connect(window, 'onload', function() { $('form_login_user').focus(); });
-    </script>
+    <script>MochiKit.DOM.focusOnLoad('form_login_user');</script>
 </head>
 
 <body>
 </head>
 
 <body>