Browse Source

Focus username input on load

adaptive-webui-19844
Gabriele 10 years ago
parent
commit
863dc71100
  1. 4
      src/webui/www/private/login.html

4
src/webui/www/private/login.html

@ -8,6 +8,10 @@ @@ -8,6 +8,10 @@
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
<script type="text/javascript">
window.onload = function() {
$('username').focus();
}
window.addEvent('domready', function() {
$('loginform').addEvent('submit', function(e) {
new Event(e).stop();

Loading…
Cancel
Save