Bugzilla – Attachment 2709 Details for
Bug 5162
patron attributes 'new' link should create blank value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
follow-up patch
0002-bug-5162-follow-up-patch-to-not-clear-hidden-input-s.patch (text/plain), 1.24 KB, created by
Galen Charlton
on 2010-10-29 11:43:03 UTC
(
hide
)
Description:
follow-up patch
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2010-10-29 11:43:03 UTC
Size:
1.24 KB
patch
obsolete
>From 7aea0988f6a95805d4a04e25b37cea058550341a Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmcharlt@gmail.com> >Date: Fri, 29 Oct 2010 07:38:40 -0400 >Subject: [PATCH 2/2] bug 5162: follow-up patch to not clear hidden input setting attribute type > >Otherwise, can't saved new attributes set from a cloned >input or select control. > >Signed-off-by: Galen Charlton <gmcharlt@gmail.com> >--- > .../prog/en/modules/members/memberentrygen.tmpl | 3 ++- > 1 files changed, 2 insertions(+), 1 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 baba4c8..e147d53 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl >@@ -46,7 +46,8 @@ > $("select", clone).attr('name', function() { > return this.name.replace(/patron_attr_\d+/, 'patron_attr_' + newId); > }); >- $("input,select", clone).attr('value',''); >+ $("input#patron_attr_" + newId, clone).attr('value',''); >+ $("select#patron_attr_" + newId, clone).attr('value',''); > original.parentNode.insertBefore(clone, original.nextSibling); > } > >-- >1.7.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5162
:
2570
| 2709