Bugzilla – Attachment 11150 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]
Bug 8431 - Followup - Switch from text input to textarea
Bug-8431---Followup---Switch-from-text-input-to-te.patch (text/plain), 2.31 KB, created by
Kyle M Hall (khall)
on 2012-07-26 17:21:01 UTC
(
hide
)
Description:
Bug 8431 - Followup - Switch from text input to textarea
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-07-26 17:21:01 UTC
Size:
2.31 KB
patch
obsolete
>From 2588d243fd40f3d6eae661031262b5f4e42a8835 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 24 Jul 2012 11:35:24 -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. >--- > .../prog/en/modules/members/memberentrygen.tt | 8 +++----- > 1 files 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 260355e..a0be607 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="255" 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="255" 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.2.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