------------------------------------------------------------
revno: 48
committer: Saptarshi <[email protected]>
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.
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp