logic error preventing deletion of addresses in patron editor
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Jul 2010 16:18:58 +0000 (16:18 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Jul 2010 16:18:58 +0000 (16:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17023 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/actor/user/register.js

index 577d6ef..55df2ed 100644 (file)
@@ -1206,7 +1206,6 @@ function uEditNewAddr(evt, id, mkLinks) {
                 if(mkLinks || (patron.mailing_address() && patron.mailing_address().id() == id))
                     ma.checked = true;
 
-            } else {
                 var btn = dojo.query('[name=delete-button]', row)[0];
                 if(btn) btn.onclick = function(){ uEditDeleteAddr(id) };
             }