Bugzilla – Attachment 67172 Details for
Bug 19329
IntranetSlipPrinterJS label is obsoleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19329: Fix slip printing when IntranetSlipPrinterJS defined
Bug-19329-Fix-slip-printing-when-IntranetSlipPrint.patch (text/plain), 1.12 KB, created by
Josef Moravec
on 2017-09-16 08:14:20 UTC
(
hide
)
Description:
Bug 19329: Fix slip printing when IntranetSlipPrinterJS defined
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-09-16 08:14:20 UTC
Size:
1.12 KB
patch
obsolete
>From 9d2adbce4f204a026f68c2cd3f25fd5dc095af36 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Sat, 16 Sep 2017 09:53:42 +0200 >Subject: [PATCH] Bug 19329: Fix slip printing when IntranetSlipPrinterJS > defined > >Test plan: >1) Set IntranetSlipPrinterJS according to documentation (= define >function printThenClose) >2) Go to circulation and try to print some slip >=> without patch the printThenClose function is not executed >=> with patch it is executed as it should >--- > koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc >index 689375b..68f8ddc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc >@@ -1,6 +1,7 @@ > <script type="text/javascript"> > [% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %] > [% Koha.Preference('IntranetSlipPrinterJS') %] >+ $( window ).load( printThenClose() ); > [% ELSE %] > $( window ).load(function() { > window.print(); >-- >2.1.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 19329
:
67172
|
67197
|
67199
|
67435