Bug 27282: Add window.onafterprint function
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 18 Dec 2020 17:28:54 +0000 (17:28 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 12:59:26 +0000 (14:59 +0200)
commit5fe3e6592d43668a6648fb1f99471e8a892bb705
tree18121dc2e9e6e8e6b9c67914ce6ca2121e55613b
parente3bb1444356a9f9f64d368cabe49922731bdeed6
Bug 27282: Add window.onafterprint function

TO TEST:
-set up a new list with a few items
-go to /cgi-bin/koha/virtualshelves/shelves.pl and view that list.
-Click 'Print List' in Chrome.
-The tab opens but immediately closes itself.
-Apply patch and clear cache
-Try again, the print dialouge remains open

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit fae72d031a080f840b39d892c95f3a9ee6f659ab)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt