[Koha-patches] [PATCH 1/2] [SIGNED-OFF] Fix for Bug 5162, patron attributes 'new' link should create blank value

Galen Charlton gmcharlt at gmail.com
Fri Oct 29 13:40:36 CEST 2010


From: Owen Leonard <oleonard at myacpl.org>

Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
 .../prog/en/modules/members/memberentrygen.tmpl    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl
index b21d35a..baba4c8 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl
@@ -46,6 +46,7 @@
         $("select", clone).attr('name', function() {
             return this.name.replace(/patron_attr_\d+/, 'patron_attr_' + newId);
         });
+        $("input,select", clone).attr('value','');
         original.parentNode.insertBefore(clone, original.nextSibling);
     }
 
-- 
1.7.0



More information about the Koha-patches mailing list