Bugzilla – Attachment 77579 Details for
Bug 21179
Can't link authorities if subfield length > 100
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21179: Make blinddetail look for inputs or textareas
Bug-21179-Make-blinddetail-look-for-inputs-or-text.patch (text/plain), 1.30 KB, created by
Nick Clemens
on 2018-08-08 16:31:31 UTC
(
hide
)
Description:
Bug 21179: Make blinddetail look for inputs or textareas
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2018-08-08 16:31:31 UTC
Size:
1.30 KB
patch
obsolete
>From 4257ecc8b47e0e3976e97845c2855f883887c6c1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 8 Aug 2018 16:30:59 +0000 >Subject: [PATCH] Bug 21179: Make blinddetail look for inputs or textareas > >--- > .../prog/en/modules/authorities/blinddetail-biblio-search.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >index f1613e8..638b9a2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >@@ -97,10 +97,10 @@ > var i=0; > subfields.each(function() { > if(i in values) { >- this.getElementsByTagName('input')[1].value = values[i]; >+ $(this).children('input,textarea').first().val( values[i] ); > } > else { >- this.getElementsByTagName('input')[1].value = ""; >+ $(this).children('input,textarea').first().val( "" ); > } > i++; > }); >-- >2.1.4
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 21179
: 77579