Bugzilla – Attachment 105320 Details for
Bug 25597
Javascript errors in self-checkout printslip.pl preventing printing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25597: Add missing Javascript libraries to sco printslip
Bug-25597-Add-missing-Javascript-libraries-to-sco-.patch (text/plain), 1.47 KB, created by
David Cook
on 2020-05-25 06:28:15 UTC
(
hide
)
Description:
Bug 25597: Add missing Javascript libraries to sco printslip
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-05-25 06:28:15 UTC
Size:
1.47 KB
patch
obsolete
>From e56497a4681c3128280558c29d628af5fe98c4dd Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 25 May 2020 16:25:06 +1000 >Subject: [PATCH] Bug 25597: Add missing Javascript libraries to sco printslip > >This patch adds missing Javascript libraries to the self-checkout >print slip. These missing libraries were preventing the auto print >prompt and close. There was also a font error. > >To Test: >0) Apply patch >1) Turn on system preference SelfCheckReceiptPrompt >2) Check out item via /cgi-bin/koha/sco/sco-main.pl >3) Click "Finish" >4) Press F12 on keyboard and choose Console >5) Note no Javascript errors >6) Note that print dialog appears and closes after >a print option is chosen >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >index 2693dd441c..8ffb3f4a7b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >@@ -11,7 +11,9 @@ > [% END %] > > <!-- JavaScript includes --> >-[% Asset.js("lib/jquery/jquery.js") | $raw %] >+[% Asset.js("lib/jquery/jquery-3.4.1.min.js") | $raw %] >+[% Asset.js("lib/jquery/jquery-migrate-3.1.0.min.js") | $raw %] >+[% Asset.js("lib/fontfaceobserver.min.js") | $raw %] > [% Asset.js("js/global.js") | $raw %] > > [% INCLUDE 'slip-print.inc' #printThenClose %] >-- >2.16.4
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 25597
:
105320
|
105327
|
105585