Bugzilla – Attachment 11166 Details for
Bug 8431
Increase the borrower attribute field size from 64 characters to 255
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8431 - Followup - Switch from text input to textarea
0001-SIGNED-OFF-Bug-8431-Followup-Switch-from-text-input-.patch (text/plain), 2.41 KB, created by
Owen Leonard
on 2012-07-27 12:59:08 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8431 - Followup - Switch from text input to textarea
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-07-27 12:59:08 UTC
Size:
2.41 KB
patch
obsolete
>From b812e627e11ce7c9dc3e822fac407d95151d6180 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 24 Jul 2012 11:23:05 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 8431 - Followup - Switch from text input to > textarea >Content-Type: text/plain; charset="utf-8" > >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 <oleonard@myacpl.org> >--- > .../prog/en/modules/members/memberentrygen.tt | 8 +++----- > 1 file changed, 3 insertions(+), 5 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 bd62f58..e160ea6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -37,7 +37,7 @@ > > function clear_entry(node) { > var original = node.parentNode.parentNode; >- $("input[type=text]", original).attr('value', ''); >+ $("textarea", original).attr('value', ''); > $("select", original).attr('value', ''); > } > >@@ -1381,11 +1381,9 @@ > </select> > [% ELSE %] > [% IF ( opduplicate ) %] >- <input type="text" maxlength="64" value="[% patron_attribute.value %]" >- id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]" onclick="this.value=''" /> >+ <textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]" onclick="this.value=''" >[% patron_attribute.value %]</textarea> > [% ELSE %] >- <input type="text" maxlength="64" value="[% patron_attribute.value %]" >- id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]" /> >+ <textarea rows="2" cols="30" id="[% patron_attribute.form_id %]" name="[% patron_attribute.form_id %]">[% patron_attribute.value %]</textarea> > [% END %] > [% END %] > [% IF ( patron_attribute.password_allowed ) %] >-- >1.7.9.5 >
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 8431
:
10799
|
11088
|
11097
|
11113
|
11114
|
11150
| 11166 |
11167
|
11169
|
12106