Bugzilla – Attachment 97598 Details for
Bug 24061
Print List (opac-shelves.pl) broken in Chrome
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24061: Close after timeout if onafterprint no supported
Bug-24061-Close-after-timeout-if-onafterprint-no-s.patch (text/plain), 1.05 KB, created by
Katrin Fischer
on 2020-01-20 06:52:29 UTC
(
hide
)
Description:
Bug 24061: Close after timeout if onafterprint no supported
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-01-20 06:52:29 UTC
Size:
1.05 KB
patch
obsolete
>From d75f3f1222d1747c409e1e5dbc3163a8753ad600 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 22 Nov 2019 10:16:15 +0100 >Subject: [PATCH] Bug 24061: Close after timeout if onafterprint no supported > >Not supported on Chrome < 63 >https://www.w3schools.com/tags/ev_onafterprint.asp > >Signed-off-by: Gabriel DeCarufel <gabriel@inlibro.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index 8dc11c47aa..ec0ffcd483 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -984,6 +984,7 @@ $(function() { > window.onafterprint = function () { > window.close(); > } >+ setTimeout('window.close()', 1000); // Hack for Chrome < 63 > [% END %] > > AdjustRemark(); >-- >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 24061
:
95589
|
95591
|
95623
|
95664
|
95715
|
96971
|
97597
| 97598