Change label to "Reset Password" and get button out of tab ordering
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Mar 2011 01:42:37 +0000 (01:42 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Mar 2011 01:42:37 +0000 (01:42 +0000)
In a keyboard-intensive patron input workflow, pressing tab should
not place focus on the "Reset Password" button; the password is
automatically generated at dialog creation time. Setting tabIndex
to -1 disables tab focus for the button.

Also, the button has been relabeled to "Reset Password" to be
consistent with the previous button.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19907 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/templates/default/actor/user/register_table.tt2

index e8672a5..af45ae5 100644 (file)
@@ -22,7 +22,7 @@
     <tr fmclass='au' fmfield='passwd' required='required'>
         <td/><td/><td/>
         <td>
-            <button dojoType='dijit.form.Button' jsId='generatePassword' scrollOnFocus='false'>Generate Password</button>
+            <button dojoType='dijit.form.Button' jsId='generatePassword' scrollOnFocus='false' tabIndex='-1'>Reset Password</button>
         </td>
     </tr>
     <tr fmclass='au' fmfield='passwd2' required='required'><td/><td>Verify Password</td><td/></tr>