]> dev.renevier.net Git - syj.git/blobdiff - public/js/utils.js
allow anonymous routes creation
[syj.git] / public / js / utils.js
index d8696a0ceb611585f3edad6de827c3d9f331c663..3e10f5cc0bcca87c3d784319f64caebb5f9439df 100644 (file)
@@ -143,8 +143,7 @@ Element.addMethods('form', {
             if (error && (typeof tofocus.highlight === "function")) {
                 tofocus.highlight('#F08080');
             }
-            tofocus.focus();
-            tofocus.select();
+            tofocus.activate();
         }
     },