Bugzilla – Attachment 120461 Details for
Bug 28179
Use a lightbox gallery to display the images - detail page, staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28179: Adjust chocolat.js to display href
Bug-28179-Adjust-chocolatjs-to-display-href.patch (text/plain), 1.44 KB, created by
Jonathan Druart
on 2021-05-04 13:35:00 UTC
(
hide
)
Description:
Bug 28179: Adjust chocolat.js to display href
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-05-04 13:35:00 UTC
Size:
1.44 KB
patch
obsolete
>From e81370a8336a16061c4d744ba1c208192c6a1af4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 20 Apr 2021 16:35:39 +0200 >Subject: [PATCH] Bug 28179: Adjust chocolat.js to display href >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >In order to display link in the description we need to adjust >chocolat.js > >Maybe this needs to be reported upstream > >Sponsored-by: Gerhard Sondermann Dialog e.K. (presseplus.de, presseshop.at, presseshop.ch) > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Rasmus LeiÃner <rasmus.leissner@solutions-factory.de> >--- > koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js b/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js >index 8b47927d28b..241e56b7bf1 100644 >--- a/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js >+++ b/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js >@@ -309,7 +309,7 @@ > } > > this.settings.currentImageIndex = index; >- this.elems.description.textContent = this.settings.description.call(this); >+ this.elems.description.innerHTML = this.settings.description.call(this); > this.elems.pagination.textContent = this.settings.pagination.call(this); > this.arrows(); > return this.position(image).then(() => { >-- >2.20.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 28179
:
119914
|
119915
|
119916
|
120108
|
120253
|
120254
|
120255
|
120256
|
120409
|
120410
|
120411
|
120412
|
120413
|
120459
|
120460
|
120461
|
120462
|
120463
|
120731
|
120732
|
120733
|
120734
|
120735