Bugzilla – Attachment 120733 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.49 KB, created by
Katrin Fischer
on 2021-05-09 11:23:49 UTC
(
hide
)
Description:
Bug 28179: Adjust chocolat.js to display href
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-05-09 11:23:49 UTC
Size:
1.49 KB
patch
obsolete
>From 8fd9287950b4d6763d8dfb5b63299006c9811658 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.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 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