Bugzilla – Attachment 60424 Details for
Bug 14764
Add OPAC News branch selector
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.56 KB, created by
Baptiste Wojtkowski (bwoj)
on 2017-02-17 13:40:12 UTC
(
hide
)
Description:
Bug 18119: Fix comment in cataloguing.js
Filename:
MIME Type:
Creator:
Baptiste Wojtkowski (bwoj)
Created:
2017-02-17 13:40:12 UTC
Size:
1.56 KB
patch
obsolete
>From 7e393fd58334258dd4ca259c8ebb68ec4ffd5b4e 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 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >https://bugs.koha-community.org/show_bug.cgi?id=14764 >--- > 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.7.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 14764
:
42129
|
42130
|
42131
|
42132
|
42139
|
42146
|
42147
|
55679
|
55680
|
55681
|
55682
|
55724
|
55725
|
55726
|
56107
|
56108
|
56109
|
57058
|
57059
|
57060
|
57061
|
57062
|
57063
|
57110
|
59648
|
59653
|
59827
|
60396
|
60424
|
60425
|
60451
|
60452