Bugzilla – Attachment 60237 Details for
Bug 18119
Bug 17988 broke cataloging javascript functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18119: Fix comment in cataloguing.js
Bug-18119-Fix-comment-in-cataloguingjs.patch (text/plain), 1.38 KB, created by
Josef Moravec
on 2017-02-15 07:09:18 UTC
(
hide
)
Description:
Bug 18119: Fix comment in cataloguing.js
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-02-15 07:09:18 UTC
Size:
1.38 KB
patch
obsolete
>From a01511632f43822a9f611c29c9343ec74c460480 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 15 Feb 2017 06:52:32 +0000 >Subject: [PATCH] Bug 18119: Fix comment in cataloguing.js > >Test plan: >Go to cataloging, and try something which depends on javascript - >collapse/uncollapse fields, open authority search window, ... > -> without patch it is not working > -> with patch it is working correctly >--- > 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 bddae11..eedac25 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -59,7 +59,7 @@ function ExpandField(index) { > var original = document.getElementById(index); //original <div> > var divs = original.getElementsByTagName('div'); > for(var i=0,divslen = divs.length ; i<divslen ; i++){ // foreach div >- if(divs[i].hasAttribute('id') == 0 ) {continue; } # div elementis specific to Select2 >+ if(divs[i].hasAttribute('id') == 0 ) {continue; } // div element is specific to Select2 > if(divs[i].getAttribute('id').match(/^subfield/)){ // if it s a subfield > if (!divs[i].style.display) { > // first time => show all subfields >-- >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 18119
:
60237
|
60240