Bugzilla – Attachment 120735 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: (follow-up) Remove console.log
Bug-28179-follow-up-Remove-consolelog.patch (text/plain), 1.69 KB, created by
Katrin Fischer
on 2021-05-09 11:24:02 UTC
(
hide
)
Description:
Bug 28179: (follow-up) Remove console.log
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-05-09 11:24:02 UTC
Size:
1.69 KB
patch
obsolete
>From e1d6021fe648d8d4202df0e009d05ca6b2f8570c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 3 May 2021 18:08:49 +0000 >Subject: [PATCH] Bug 28179: (follow-up) Remove console.log >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch removes a "console.log" from detail.tt and replaces it with >similar output to the user. It will probably never be triggered, but >better to handle it gracefully than have a hidden log. > >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/prog/en/modules/catalogue/detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index f48febbe01..bde528c30d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -1074,7 +1074,7 @@ Note that permanent location is a code, and location may be an authval. > } else if ( div.attr("class") == "cover-image local-coverimg" ) { > lightbox_descriptions.push(_("Local cover image (<a href='%s'>edit</a>)").format($(img).data('link'))); > } else { >- console.log("Source of the image cannot be guessed.") >+ lightbox_descriptions.push(_("Cover image source unknown")); > } > } > } >-- >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