Skip to content

Commit

Permalink
fixed auto focus
Browse files Browse the repository at this point in the history
Issue #605
  • Loading branch information
rsoika committed Sep 9, 2024
1 parent 13ed830 commit 06b413f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion imixs-office-workflow-app/src/main/webapp/login.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/*<![CDATA[*/
// auto focus login
$(document).ready(function () {
$("#j_username").focus();

// lowercase userid....
$("#j_username").blur(function () {
Expand All @@ -22,7 +21,14 @@
}
}
});

$("#j_username").focus();

});

window.onload = function () {
document.getElementsByName('j_username')[0].focus();
};
/*]]>*/
</script>

Expand Down

0 comments on commit 06b413f

Please sign in to comment.