Bugzilla – Attachment 124241 Details for
Bug 28812
Authority tag editor only copies $a from record to search form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28812: Improve robustness of selector
Bug-28812-Improve-robustness-of-selector.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2021-08-30 12:44:39 UTC
(
hide
)
Description:
Bug 28812: Improve robustness of selector
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-30 12:44:39 UTC
Size:
1.12 KB
patch
obsolete
>From 4e9c8023018748525c8e6a73793fed2d62da1bbc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 30 Aug 2021 14:43:35 +0200 >Subject: [PATCH] Bug 28812: Improve robustness of selector > >Use the same fix as bug 28828. >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >index 926d2a7c75a..a2d7b4a2aa1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -44,7 +44,7 @@ function openAuth(tagsubfieldid,authtype,source) { > var mainmainstring=element.value; > var mainstring = new Array(); > >- var inputs = element.parentNode.parentNode.parentNode.getElementsByTagName("input"); >+ var inputs = element.closest('ul').getElementsByTagName('input'); > for (var myindex =0; myindex<inputs.length;myindex++){ > if (inputs[myindex].name && inputs[myindex].name.match(tagsubfield)){ > var subfieldcode=getSubfieldCode(inputs[myindex].name); >-- >2.25.1
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 28812
:
124116
|
124175
|
124232
| 124241