From 4d1673846cbef1a46307d6d7b188bc8944d625d7 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 24 Jul 2012 11:23:05 -0400 Subject: [PATCH] Bug 8431 - Followup - Switch from text input to textarea Switch the text input to a textarea will make editing larger borrower attritube values much easier. Since modern browsers allow for dynamic resizing of textareas, we can keep it small by default and let the library resize it if neccessary. Signed-off-by: Owen Leonard --- .../prog/en/modules/members/memberentrygen.tt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index f4734c0a50..ef7a12af58 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -36,8 +36,8 @@ }); function clear_entry(node) { - var original = node.parentNode; - $("input[type=text]", original).attr('value', ''); + var original = node.parentNode.parentNode; + $("textarea", original).attr('value', ''); $("select", original).attr('value', ''); } @@ -1360,11 +1360,9 @@ [% ELSE %] [% IF ( opduplicate ) %] - + [% ELSE %] - + [% END %] [% END %] [% IF ( patron_attribute.password_allowed ) %] -- 2.39.5