From 94a7573f572fe704c08d857eeef64700d8c10b34 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 Signed-off-by: Chris Nighswonger --- .../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 b21d35a260..baba4c8939 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