From 989bac4385bf81b7269b46f43566dae3e508dd0b Mon Sep 17 00:00:00 2001
From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 9 Sep 2010 21:45:10 +0000
Subject: [PATCH] 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 :)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17557 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/web/templates/default/actor/user/register_table.tt2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Open-ILS/web/templates/default/actor/user/register_table.tt2 b/Open-ILS/web/templates/default/actor/user/register_table.tt2
index 4d6f94e9cc..06a929bdce 100644
--- a/Open-ILS/web/templates/default/actor/user/register_table.tt2
+++ b/Open-ILS/web/templates/default/actor/user/register_table.tt2
@@ -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>
-- 
2.11.0