Bugzilla – Attachment 120411 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.28 KB, created by
Owen Leonard
on 2021-05-03 18:15:49 UTC
(
hide
)
Description:
Bug 28179: Adjust chocolat.js to display href
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-05-03 18:15:49 UTC
Size:
1.28 KB
patch
obsolete
>From e7bb4c65b88fe73c2725fe2acb5800fbb2b15b68 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 > >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> >--- > 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 8b47927d28..241e56b7bf 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.11.0
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