From 7564b21c327eb70b540bb7df329c219e8b14635f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 29 Oct 2010 07:40:36 -0400 Subject: [PATCH] Fix for Bug 5162, patron attributes 'new' link should create blank value Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl | 1 + 1 file changed, 1 insertion(+) 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 3e4ae38062..b0741ec2e9 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); } -- 2.39.5