Bugzilla – Attachment 59771 Details for
Bug 17988
Select2 prevents correct tag expand/minimize functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17988: Add a comment to explain the line
Bug-17988-Add-a-comment-to-explain-the-line.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2017-02-02 09:29:15 UTC
(
hide
)
Description:
Bug 17988: Add a comment to explain the line
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-02-02 09:29:15 UTC
Size:
1.20 KB
patch
obsolete
>From 16ea12bdf559ec503e0b778e2ae11bf578e030b9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 2 Feb 2017 10:28:21 +0100 >Subject: [PATCH] Bug 17988: Add a comment to explain the line > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > 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 f4abf2f..bddae11 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; } >+ if(divs[i].hasAttribute('id') == 0 ) {continue; } # div elementis 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.9.3
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 17988
:
59543
|
59758
|
59770
| 59771