[open-ils-commits] r17557 - trunk/Open-ILS/web/templates/default/actor/user (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Sep 9 17:45:16 EDT 2010


Author: phasefx
Date: 2010-09-09 17:45:10 -0400 (Thu, 09 Sep 2010)
New Revision: 17557

Modified:
   trunk/Open-ILS/web/templates/default/actor/user/register_table.tt2
Log:
put these buttons under the sway of Dojo so that they don't get triggered when pressing enter in random fields in the patron editor form.  I have no idea why this works :)

Modified: trunk/Open-ILS/web/templates/default/actor/user/register_table.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/actor/user/register_table.tt2	2010-09-09 21:29:17 UTC (rev 17556)
+++ trunk/Open-ILS/web/templates/default/actor/user/register_table.tt2	2010-09-09 21:45:10 UTC (rev 17557)
@@ -59,14 +59,14 @@
         <td>
             <span>Mailing</span><input type='radio' name='mailing_address'>
             <span>Billing</span><input type='radio' name='billing_address'>
-            <button name='delete-button' class='uedit-addr-del-button'>X</button>
+            <button dojoType='dijit.form.Button' scrollOnFocus='false' name='delete-button' class='uedit-addr-del-button'>X</button>
         </td>
     </tr>
 
     <tr name='uedit-addr-pending-row' type='addr-template' class='pending-addr-row hidden'>
         <td colspan='3'>
             <span style='padding-right:10px;'>This is a pending address: </span>
-            <button name='approve-button'>Approve Address</button>
+            <button dojoType='dijit.form.Button' scrollOnFocus='false'  name='approve-button'>Approve Address</button>
             <div name='replaced-addr-div'>
                 <div name='replaced-addr'></div>
             </div>



More information about the open-ils-commits mailing list