From: phasefx Date: Fri, 23 Jul 2010 16:18:58 +0000 (+0000) Subject: logic error preventing deletion of addresses in patron editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5f6d1c641e9767df58618aaca2a737c33f111568;p=evergreen%2Fbjwebb.git logic error preventing deletion of addresses in patron editor git-svn-id: svn://svn.open-ils.org/ILS/trunk@17023 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js index 577d6efa8..55df2ed49 100644 --- a/Open-ILS/web/js/ui/default/actor/user/register.js +++ b/Open-ILS/web/js/ui/default/actor/user/register.js @@ -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) }; }