Bug 25791: Remove win.print()
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 15 Jul 2020 22:28:07 +0000 (22:28 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 4 Sep 2020 18:05:57 +0000 (18:05 +0000)
commit59b67c3b37ed92926e9c75c0637c58af255ecec2
tree039b024669d2d800a5b3341403efd7e2961ea6fa
parent73c246238bc21aa48689a8027cd3ae01fb7f9232
Bug 25791: Remove win.print()

Test plan:
1) Turn on system preference SelfCheckReceiptPrompt
2) Check out item via /cgi-bin/koha/sco/sco-main.pl
3) Click "Finish"
4) Click 'Print receipt and end session'
5) Notice two print dialog boxes right on top of each other
6) Apply patch
7) Repeat steps 1 - 4
8) Should only get a single print dialog.
9) Test in FF/Chrome and make sure behavior is consistent

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6797f07bbdfb90c556f52bfe2f83cefdf91495f3)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt