You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2013/07/06 07:37:03 UTC
svn commit: r1500207 - in
/bloodhound/trunk/bloodhound_theme/bhtheme/templates: bh_admin_users.html
bh_prefs_account.html bh_reset_password.html
Author: rjollos
Date: Sat Jul 6 05:37:02 2013
New Revision: 1500207
URL: http://svn.apache.org/r1500207
Log:
Set focus on the first `input` element when navigating to the //Admin Users//, //Account Preferences// and //Reset Password// pages. Refs #201, th:#11213.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html
Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html?rev=1500207&r1=1500206&r2=1500207&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_users.html Sat Jul 6 05:37:02 2013
@@ -31,6 +31,11 @@
dgettext = _dgettext ?>
<head>
<title>Accounts</title>
+ <script type="text/javascript">
+ jQuery(document).ready(function($) {
+ $("#username").focus();
+ });
+ </script>
</head>
<body>
Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html?rev=1500207&r1=1500206&r2=1500207&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_account.html Sat Jul 6 05:37:02 2013
@@ -71,6 +71,11 @@
<head>
<title>Account</title>
+ <script type="text/javascript">
+ jQuery(document).ready(function($) {
+ $("#old_password_chg").focus();
+ });
+ </script>
</head>
<body>
Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html?rev=1500207&r1=1500206&r2=1500207&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html Sat Jul 6 05:37:02 2013
@@ -13,9 +13,9 @@
<head>
<title>Reset Password</title>
<script type="text/javascript">
- jQuery(document).ready(function($) {
- $('input[@name=username]')[0].focus();
- });
+ jQuery(document).ready(function($) {
+ $("#username").focus();
+ });
</script>
</head>