dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #00174
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 48: Added javascript to focus username field on login page load. Fixed bug #341630.
------------------------------------------------------------
revno: 48
committer: Saptarshi <sunbiz@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2009-03-12 16:12:06 +0530
message:
Added javascript to focus username field on login page load. Fixed bug #341630.
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html 2009-03-10 07:27:35 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.html 2009-03-12 10:42:06 +0000
@@ -5,6 +5,9 @@
<script language="javascript" src="../util/jquery.js"></script>
<script language="javascript" src="../util/jquery-ui.js"> </script>
<script language="javascript">
+ $(document).ready(function() {
+ $('#j_username').focus();
+ });
function showProgress() {
$('#loginmsg').show();
i=0;
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html 2009-03-10 07:27:35 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/loginfailed.html 2009-03-12 10:42:06 +0000
@@ -5,6 +5,9 @@
<script language="javascript" src="../util/jquery.js"></script>
<script language="javascript" src="../util/jquery-ui.js"> </script>
<script language="javascript">
+ $(document).ready(function() {
+ $('#j_username').focus();
+ });
function showProgress() {
$('#loginmsg').show();
$('.loginMessage').hide();
--
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.